Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Population Area Chart

Public visualization

World Population Area Chart

0 stars0🌍 Public
ZZhang Shengli
Last edited Sep 26, 2019
Created on Sep 26, 2019

An area chart visualizes global population growth over time, with the x-axis representing years and the y-axis showing population in billions. The visualization initially appears in blue, with interactive hover effects directing attention to specific data points. The code uses D3 v5’s `area` generator with a `curveBasis` smoothing function, along with `scaleTime` and `scaleLinear` for axes. It loads CSV data from a VizHub dataset, formats tick labels to convert billions (e.g., “G” to “B”), and renders axes and labels using SVG.

AI-generated description

This line chart shows one week of temperature (in degrees Celcius) in San Francisco. The data comes from Data Canvas - Sense Your City.

Made in this video:

Comments

Sign in to join the discussion.

MIT Licensed