Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

World Population Area Chart

Public visualization

World Population Area Chart

0 stars4๐ŸŒ Public
Ggharakhani1986
Last edited Jul 12, 2022
Created on Jul 11, 2022

This world population area chart displays the growth of global population over time, using a smooth, maroon-filled area curve. The visualization leverages D3.js v7 functions including `scaleTime`, `scaleLinear`, `area`, `curveBasis`, `axisBottom`, and `axisLeft` within an SVG canvas. The code loads CSV data from a VizHub URL, parses years as dates and populations as numbers, and renders a titled chart with gridlines, axis labels, and formatted tick marks that convert billions (G) to B.

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