Skip to main content
Public

Share visualization

Loading preview…

Fork of ICE-7:Area Chart

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of ICE-7:Area Chart

0
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