Skip to main content
100%

Fork of ICE-7:Area Chart

✓ Published0🌍 Public
SSheshidharreddy
Last edited Mar 29, 2022
Created on Mar 29, 2022
Forked from ICE-7:Area Chart

This example visualizes nuclear usage from 2010 to 2020 as a combined line and area chart, with the red line tracing the trend in units over time and an indigo fill beneath the curve. It uses D3 v5 via the `d3` module, employing `scaleTime` and `scaleLinear` for the axes, `line` and `area` generators with `curveBasis` for smoothing, and `axisLeft`/`axisBottom` for tick marks. The chart loads CSV data from a Gist, parsing the year and unit columns, and renders to an SVG with custom-styled axes and labels.

AI-generated description

combined line and area charts

MIT Licensed

Similar vizzes