Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area Chart

Public visualization

Viewing a saved revision (read-only)

c3324571777e463eb6082a2811d550b8

Area Chart

0 stars0🌍 Public
SSonuSriN
Last edited Mar 27, 2022
Created on Mar 27, 2022

This area chart visualizes life expectancy in the United States over time, using a smooth, filled curve to show the trend. The D3 code (v5) loads data from a CSV file and uses `scaleTime` and `scaleLinear` for the axes, `area` with `curveBasis` to generate the smooth area path, and `axisBottom` and `axisLeft` for gridlines and labels. The title and axis labels are added as SVG text elements.

AI-generated description