Fork of Stylized Bar Chart
✓ Published0🌍 Public
This chart displays the top 10 most populous countries in 2020 as horizontal bars, sorted by population with a labeled x-axis and country names on the y-axis. It uses React with D3’s `scaleBand`, `scaleLinear`, `max`, and `format` to position and style SVG rectangles, with hover tooltips via SVG `<title>`. Data comes from the United Nations World Population Prospects 2019 CSV, loaded using `d3.csv`. The design features a teal color scheme and Poppins font, with axis ticks and labels styled through CSS.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed