🌍 Public
Viewing a saved revision (read-only)
7579cc9e689b43d4b157ad59e69e14a8
Area Chart
This area chart displays US cancer cases recorded annually from 2009 to 2022, using a smooth curve to highlight the overall trend in case counts over time. The visualization is built with D3 v5, employing `scaleLinear` for both axes, `area` with `curveBasis` to generate the filled path, and `axisBottom` and `axisLeft` for tick marks. Data is loaded from a CSV file via `csv`, with year and case values parsed as numbers. The SVG rendering includes styled axis labels and a filled area in a distinct color, with grid lines created through negative tick sizes.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.