Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Refactored Bar Chart

Public visualization

Fork of Refactored Bar Chart

0 stars0🌍 Public
PPraveen Kumar S
Last edited Aug 9, 2021
Created on Aug 9, 2021

This visualization displays a horizontal bar chart of the top 10 most populous countries from the United Nations World Population Prospects 2019 dataset. Each bar represents a country’s 2020 population estimate, rendered as a colored rectangle. The chart uses React for component structure and D3 v5 functions like `scaleBand` and `scaleLinear` to map data to SVG coordinates, with custom `AxisBottom` and `AxisLeft` components providing tick marks and labels.

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.

Comments

Sign in to join the discussion.

MIT Licensed