Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 World Population Area Chart

Public visualization

D3 World Population Area Chart

0 stars0🌍 Public
Rrdeichert
Last edited Dec 12, 2019
Created on Dec 12, 2019

This example visualizes world population by year as a smooth filled area chart, with the area rising from zero to peak population and labeled axes for year and population. The SVG rendering uses d3.area with curveBasis for the smoothed path, d3.scaleTime and d3.scaleLinear for the scales, and d3.axisLeft and d3.axisBottom for the tick marks. Population data is loaded via d3.csv from a VizHub-hosted dataset, and the y-axis ticks are formatted to abbreviate billions as "B".

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed