block by hugolpz 09c837f43dc4b3962be9

D3-svg-legend (test)

Full Screen

d3.svg.legend provides for a simple legend that can be displayed horizontally or vertically and accepts a few different d3 scale types.

index.html

legend.js