Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE-7:Area Chart

Public visualization

Fork of ICE-7:Area Chart

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed