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
AAditya-me
Last edited Apr 5, 2020
Created on Apr 5, 2020

This area chart visualizes world population by year, using a filled curve to show the rise in population over time. The chart customizes both the x- and y-axes, with a time scale for years and a linear scale for population values, displayed with tick marks and labeled axes. The data is loaded from a CSV file via d3.csv, and the area path is generated using d3.area with a curveBasis interpolation, rendered as an SVG. The y-axis ticks are formatted to abbreviate large numbers, replacing “G” with “B” for billions.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017. It also demonstrates customization of D3 axes.

Comments

Sign in to join the discussion.

MIT Licensed