🌍 Public
Viewing a saved revision (read-only)
748916dd4568431babb244ef7ac78c56
Fork of Activity 6_Question1 1.2
This bar chart displays the population of the top 20 countries in 2010, ranked and sorted by country. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` to map data to an SVG canvas, rendering bars via custom `Marks`, `AxisBottom`, and `AxisLeft` components. The data is fetched from a CSV using `d3.csv` and formatted with `d3.format` to abbreviate large numbers. Styling includes custom tick lines, fill colors, and a Poppins font.
AI-generated descriptionA demonstration of how to start using D3 version 6.