🌍 Public
Viewing a saved revision (read-only)
bafcfe82f7d14b64984e004603645919
Task8Question1
This example presents a horizontal bar chart of population data for the top 10 countries in the year 2000, sourced from a CSV file loaded via `d3.csv`. The visualization uses React with D3 v5, rendering SVG bars through the `scaleBand` and `scaleLinear` scales, with axes generated by custom `AxisBottom` and `AxisLeft` components. Population values are formatted with `d3.format` and hover tooltips are provided via SVG `<title>` elements.
AI-generated descriptionA demonstration of how to start using D3 version 6.