🌍 Public
Viewing a saved revision (read-only)
f4b2adbf9c844306a7e0293590e4da56
Actitvity6.1
A bar chart displays the populations of ten countries in the year 2000, with countries on the y-axis and population values on the x-axis. The visualization uses React components with D3 v5's `scaleBand` and `scaleLinear` for axes, and renders SVG rectangles as marks. Data is loaded from a CSV file via `useData` and `csv`, with population values converted from thousands. Tooltips show formatted values using D3's `format` function, while blue axis ticks and green bars follow CSS-defined styling.
AI-generated descriptionA demonstration of how to start using D3 version 6.