Skip to main content
100%

Fork 999 of Stylized Bar Chart

✓ Published1🌍 Public
Ssucotton9
Last edited Jul 15, 2021
Created on Jul 15, 2021
Forked from Stylized Bar Chart

This example displays the top 10 most populous countries as horizontal bars, with country names on the y-axis and population values on the x-axis. The chart uses a teal color for the bars, gray for the axes and labels, and the Poppins font, with a hover tooltip showing the exact population format. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` to map data from the UN World Population Prospects 2019, loaded via `csv`. The SVG rendering separates axes and marks into modular components for clarity.

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