Skip to main content
100%

D3 4.0 Sequential Scales Explorer

✓ Published0🌍 Public
CCurran Kelleher
Last edited Jun 28, 2016
Created on Jun 19, 2016

This interactive heatmap visualizes a 2D histogram of date and value data, with cell colors encoding counts. A dropdown menu and auto-cycling animation let users switch among sequential color interpolators from D3 4.0’s `d3.scaleSequential` and the `d3-scale-chromatic` library, including Viridis, Inferno, and ColorBrewer schemes. Built with D3 4.0, it renders SVG rects and axes, loading data from a CSV file.

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 -->
gpl-3.0 Licensed

Similar vizzes