Skip to main content
100%

Simple stream + interpolation, layout offset & axes

✓ Published0🌍 Public
DDinoJay
Last edited Jun 20, 2016
Created on Jun 20, 2016

This streamgraph uses D3’s stacked area layout to show changes in value across multiple categories over time, with a cardinal interpolation smoothing the layers. The chart offsets the layout to center the stream and includes both left and right y-axes as well as a bottom x-axis. Data is loaded from a CSV file (stream.csv) and grouped by a key field, with each series represented as a colored layer using a blue ordinal color scale from the ColorBrewer palette. The x-axis uses a time scale for dates, while the y-axis encodes the cumulative values of the stacked areas. The example highlights D3 v3's streamgraph capabilities with custom axes and layout offset handling.

AI-generated description

forked from <a href='http://bl.ocks.org/devgru/'>devgru</a>'s block: <a href='http://bl.ocks.org/devgru/8622315'>Simple stream + interpolation, layout offset & axes</a>

forked from <a href='http://bl.ocks.org/anonymous/'>anonymous</a>'s block: <a href='http://bl.ocks.org/anonymous/33cab2fc24468acaf682a5706de09c16'>Simple stream + interpolation, layout offset & axes</a>

Similar vizzes