Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Population by country Bar Chart

Public visualization

Population by country Bar Chart

1 star1🌍 Public
VVlad Bogo
Last edited Dec 17, 2020
Created on Dec 4, 2020
Forked from Stylized Bar Chart

This bar chart displays the populations of the top five most populated countries, scaled in millions. Built with D3 v5, it renders as an SVG using `d3.scaleLinear` for the x-axis, `d3.scaleBand` for the categorical y-axis, and `d3.scaleOrdinal` for country-specific colors. The data comes from the United Nations World Population Prospects 2019, loaded via `d3.csv`, with axes and tick formatting generated through `d3.axisBottom` and `d3.axisLeft`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed