Creates a d3-voronoi diagram for a couple of random coordinates. The color of the polygons is defined by a continuous color scheme based on ColorBrewer using d3-scale-chromatic.
Example in D3 v4.0
https://d3js.org/d3.v4.0.0-rc.2.min.js
https://d3js.org/d3-color.v0.5.min.js
https://d3js.org/d3-interpolate.v0.9.min.js
https://d3js.org/d3-scale-chromatic.v0.3.min.js