Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of ICE 7 Area Chart

Public visualization

Viewing a saved revision (read-only)

4cdba9e182d345fc800a3d800f6a231d

Fork of Fork of ICE 7 Area Chart

0 stars0🌍 Public
Mmounishnaidu96@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024

This visualization presents U.S. cancer case data from 2009 to 2022, combining a smooth line chart with an area fill to emphasize the upward trend. The SVG uses D3 v5’s `scaleLinear`, `axisBottom`, and `axisLeft` to plot the data, with the area generator creating the shaded region beneath the line. Data is loaded from a CSV via `d3.csv`, and the code applies `curveBasis` for smooth transitions between points. The chart labels both axes, and the area’s dark purple fill contrasts with the black line, highlighting the change in case counts over time.

AI-generated description

combined line and area charts