Skip to main content
100%

Countries Bar Chart

✓ Published1🌍 Public
TTatyana Milanova
Last edited Oct 5, 2023
Created on Oct 4, 2023
Forked from Pathetic Bar Chart

This chart visualizes the top 10 most populous countries based on United Nations World Population Prospects 2019 data. It shows horizontal bars representing each country's population, with the x-axis labeled "Population." The visualization is created using React and D3 v5, with SVG rendering. The code uses d3.scaleBand for the categorical y-axis, d3.scaleLinear for the continuous x-axis, and d3.csv to load the dataset. Axis components and marks are defined as separate React components, with tooltips displaying formatted population values.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes