Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of World Population Area Chart

Public visualization

Fork of World Population Area Chart

0 stars0🌍 Public
Nnicoeltano
Last edited Jul 12, 2022
Created on Jul 12, 2022

This visualization shows global population trends over time using a filled area chart. The SVG displays a maroon curve representing population values across years, with labeled axes for time and population. The code uses D3.js v7 functions including `csv` for data loading, `scaleTime`, `scaleLinear`, `area`, `curveBasis`, and `axisBottom`/`axisLeft` to construct the chart. Population values are formatted using `format` to display billions, and data comes from a VizHub-hosted CSV dataset of world population by year.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

Comments

Sign in to join the discussion.

MIT Licensed