Fork of Refactored Bar Chart
✓ Published0🌍 Public
This example displays the top 10 most populous countries as horizontal bars, with country names on the left axis and population values on the bottom axis. Built with React and d3.scaleBand, d3.scaleLinear, and d3.max, it loads data from the United Nations World Population Prospects 2019 CSV, parses the 2020 population column, and renders SVG rectangles via the Marks component. Axes are drawn using custom AxisBottom and AxisLeft components, forming a clean, readable bar chart.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed