Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
DDINESH SAI BOPPANA
Last edited Jun 22, 2022
Created on Jun 22, 2022
Forked from Stylized Bar Chart

This bar chart displays the top 10 most populous countries for 2020, ranked along the vertical axis with population counts on the horizontal axis. Built with React and D3 v5, it uses `d3.csv` to load United Nations World Population Prospects 2019 data, `d3.scaleBand` for the categorical country axis, and `d3.scaleLinear` for population values. SVG rectangles render the bars, with axis components custom-built as React functions and formatted tick labels using `d3.format`. Hovering shows a native tooltip with the population value.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes