Fork of Refactored Bar Chart
✓ Published0🌍 Public
This visualization displays the top 10 most populous countries as a horizontal bar chart, using population data from the United Nations World Population Prospects 2019. Built with React and D3 v5, it renders SVG elements through reusable components. The chart uses `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis, with `AxisBottom` and `AxisLeft` components generating tick marks and labels. Data is loaded asynchronously via `d3.csv` from a GitHub gist, and bars are drawn as `<rect>` elements whose widths correspond to each country's 2020 population.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed