Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area chart

Public visualization

Area chart

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

This area chart displays the life expectancy of the USA across years, with a smooth curve filling the space beneath the line. The data is loaded from a CSV file via a GitHub gist. The visualization uses D3 v5’s `scaleTime`, `scaleLinear`, `area`, and `curveBasis` functions within an SVG rendering, including labeled axes and a title. The y-axis tick labels are formatted using `format`, and the chart includes grid lines via axis tick sizing.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed