Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area Chart of US Population

Public visualization

Area Chart of US Population

0 stars0🌍 Public
CChathurya
Last edited Mar 29, 2023
Created on Mar 28, 2023

This area chart visualizes the population of the United States from 2010 to 2023, using a dataset from Macrotrends that includes yearly population and growth rate. The chart shows a clear upward trend in population over the fourteen-year period. The visualization is built with D3.js, using the `area()` and `line()` generators to create the filled area and stroke. It employs `scaleTime()` and `scaleLinear()` for the axes, with axis labels formatted using `format('.3s')`. The SVG rendering includes styled grid lines and a coral-colored area fill, with the y-axis displaying population counts in millions.

AI-generated description

Area chart shows data of the population of united states from 2010-2023(https://www.macrotrends.net/countries/USA/united-states/population).

Shows the Population Dataset.

Comments

Sign in to join the discussion.

MIT Licensed