block by emeeks 8855733967174fe4b1b4

d3.svg.legend example

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