Making a Bar Chart
✓ Published1🌍 Public
This horizontal bar chart displays the populations of the world’s ten most populous countries, with China and India leading by a wide margin. Built with D3 v6 in a React framework, it uses `d3.csv` to load population data, `scaleLinear` and `scaleBand` for positioning, and `axisLeft` and `axisBottom` for labeled axes. SVG rectangles are rendered per country, with the data values multiplied by 1000 to reflect actual population figures, and styled with a steelblue fill.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed