Voroni & Chromatic Scale
This visualization displays a Voronoi tessellation of 2,000 random points, with each polygon’s fill color mapped through a chromatic scale. The example uses D3 v4.0 with the `d3.voronoi` layout, `d3-scale-chromatic`’s `d3.interpolateRdYlBu` for continuous ColorBrewer coloring, and SVG paths for rendering. On mouseover, all polygon fills recolor based on the Euclidean distance from the hovered point’s coordinates, creating an interactive distance-based heatmap effect.
AI-generated descriptionCreates 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
forked from <a href='http://bl.ocks.org/allardw/'>allardw</a>'s block: <a href='http://bl.ocks.org/allardw/9cb188f5bb09824492084cc46e0faafd'>Voroni & Chromatic Scale</a>