Skip to main content
Public

Share visualization

Loading preview…

Area Chart

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Area Chart

0
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

Comments

Sign in to join the discussion.

MIT Licensed