Skip to content

Instantly share code, notes, and snippets.

View rmadsen's full-sized avatar

Ryan Madsen rmadsen

View GitHub Profile
@rmadsen
rmadsen / README.md
Last active December 2, 2015 22:54 — forked from mbostock/.block
Every ColorBrewer Scale [Clickable]

A quick visual reference to every ColorBrewer scale; colors by Cynthia Brewer. Available in CSS and JS format. Click on a palette to log the constituent colors in hexadecimal RGB to the console.

This fork shows all variants of the scheme on click.

@rmadsen
rmadsen / README.md
Last active January 20, 2016 23:08 — forked from mbostock/.block
Horizon Chart

Description

Horizon charts combine position and color to reduce vertical space. Start with a standard area chart, then mirror negative values (in blue) or offset them vertically. Click the + button above to increase the number of bands, turning the area into a horizon.

Implemented with the d3.horizon plugin.

This fork allows users to play around with different interpolation functions dynamically.

Demo

Click here