Bar Chart
✓ Published1🌍 Public
This bar chart displays the top 10 countries by population for 2020, using horizontal bars ranked from largest to smallest. The visualization is built with React and rendered as SVG, leveraging D3 v7’s `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Population values are loaded via `d3.csv` from a UN dataset and formatted with SI notation, converting “G” to “B” for billions. Axes are generated by custom React components, and hover tooltips appear through native SVG `<title>` elements.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed