Dataviz 6 - Refactoring
✓ Published1🌍 Public
This example displays a horizontal bar chart of the top 10 most populous countries, using data from the United Nations World Population Prospects 2019. It shows each country’s population as a bar, with axes for both countries and population values. The visualization is built with React and d3.v5, using `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and the `csv` loader to fetch and parse the data. All marks and axes are rendered as SVG elements through reusable React components.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed