Skip to main content
100%

Individual to stacked area charts

✓ Published0🌍 Public
TThanaporn-sk
Last edited Mar 13, 2017
Created on Mar 13, 2017

This example animates tax-rate data for local, state, and federal categories, transitioning from three individual area charts into a single stacked area chart. The data is randomly generated within the script. Built with D3 v4, it uses `d3.area` with `d3.curveMonotoneX` and `d3.stack` for the stacked view, while `d3.scaleOrdinal` with `d3.schemePastel1` handles color. SVG paths have a CSS animation for a dashed stroke effect, and axes are rendered via `d3.axisBottom` and `d3.axisLeft`.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/jonsadka/'>jonsadka</a>'s block: <a href='http://bl.ocks.org/jonsadka/07202c6312437c896ac1dc2ba1c6dbd4'>Individual to stacked area charts</a>

mit Licensed

Similar vizzes