Fork of Fork of ICE 7 Area Chart
✓ Published0🌍 Public
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 descriptioncombined line and area charts
MIT Licensed