Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of ICE 7 Area Chart

vizhub.com

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

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 Fork of ICE 7 Area Chart

0 stars0Public
Bbhargavarathod
Last edited Mar 28, 2022
Created on Mar 28, 2022

This example visualizes US cancer case data from 2009–2022 using a combined line and area chart rendered in SVG. The chart displays the population as the y-axis and year as the x-axis, with a smooth curve applied to both the line and the filled area beneath it. The visualization uses d3.scaleLinear, d3.line, d3.area, and d3.curveBasis to generate the paths, along with d3.axisBottom and d3.axisLeft for labeled axes. Data is loaded as CSV from a GitHub gist, and the code imports specific D3 modules for modular functionality.

AI-generated description

combined line and area charts

Comments

Sign in to join the discussion.

MIT Licensed