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
RRiccardo Pressiani
Last edited Oct 1, 2019
Created on Oct 1, 2019

This visualization shows global population trends over time as a filled area chart, with the x-axis mapping years and the y-axis representing population counts. The chart uses an area generator from D3 v5 to create a smooth, curved region beneath the line, rendered as SVG paths. Data is loaded from a CSV file using `d3.csv`, with population values scaled by 1000 and years parsed as dates. Axes are configured with `d3.axisBottom` and `d3.axisLeft`, while `d3.scaleTime` and `d3.scaleLinear` handle the scales for time and population.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed