Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area Chart

Public visualization

Viewing a saved revision (read-only)

7579cc9e689b43d4b157ad59e69e14a8

Area Chart

0 stars0🌍 Public
Aadapasaidivya99@gmail.com
Last edited Nov 6, 2024
Created on Nov 6, 2024
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.