🌍 Public
Viewing a saved revision (read-only)
bfb2c787886d4f2a85e6c16d233755a1
Activity 6.2
This is a horizontal bar chart displaying the populations of twenty countries in 2010, sorted by country name. The chart uses React components to render SVG elements, with D3 scales (`scaleBand`, `scaleLinear`) and formatting via `d3.format`. Data is loaded asynchronously from a CSV using `d3.csv`, and each bar includes a tooltip showing the population value. The code defines custom `AxisBottom`, `AxisLeft`, and `Marks` components to construct the visualization.
AI-generated description