curran
This example demonstrates use of the d3-legend library.
The color scale comes from ColorBrewer.
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js
https://cdnjs.cloudflare.com/ajax/libs/d3-legend/1.1.0/d3-legend.js