Skip to main content
100%

D3 4.0 Sequential Scales Explorer

✓ Published0🌍 Public
TThanaporn-sk
Last edited May 4, 2017
Created on May 4, 2017

This interactive D3 v4 heatmap displays a two-dimensional histogram of date and value buckets, with tile colors encoding count data. Users select from a menu of sequential color interpolators, including Viridis, Inferno, and colorbrewer schemes, to recolor the visualization. The chart updates dynamically using `d3.scaleSequential`, and an animation cycles through interpolators every second until manual selection. The SVG rendering includes axes, a color legend, and labels for the count, date, and value dimensions.

AI-generated description

An upgrade of <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/3202354'>Heatmap (2D Histogram, CSV)</a> to D3 4.0, with the addition of a select menu for D3 Sequential Scale Interpolators. Inspired by d3-scale issue: sequential.interpolate? #67. Draws the idea of trying out color schemes from colorbrewer2.org.

Also includes scales from d3-scale-chromatic.

forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/5cfe9f49387cc64996cbaa9ede87d861'>Heatmap (2D Histogram, CSV) 4.0</a>

<!-- Start of SimpleHitCounter Code --> <div align="center"><a href="http://www.simplehitcounter.com" target="_blank"><img src="http://simplehitcounter.com/hit.php?uid=2123678&f=16777215&b=0" border="0" height="18" width="83" alt="web counter"></a></div> <!-- End of SimpleHitCounter Code -->

forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/3094b37e63b918bab0a06787e161607b'>D3 4.0 Sequential Scales Explorer</a>

gpl-3.0 Licensed

Similar vizzes