🌍 Public
Viewing a saved revision (read-only)
2081a4c8985640af991d0007fc4f6f2c
activity 6_Task 1
This bar chart displays the population of 10 countries in the year 2000, ordered along a vertical band scale with horizontal bars extending from a shared origin. The visualization uses React with d3-scale’s `scaleBand` and `scaleLinear` to map country names and population values, while custom React components render SVG axes and marks. Population values are loaded from a CSV file, scaled using d3-format’s `format('.2s')` to abbreviate tick labels (e.g., ’B’ for billions), and exposed via native SVG `<title>` tooltips. Styling applies blue tick lines, light green bars, and a Poppins font.
AI-generated descriptionThis is a BarChart displaying the population of 10 countries in the year 2000