🌍 Public
Viewing a saved revision (read-only)
56952f7397c64df0b6eeb65bbef3d409
TASK8_TUTORIAL1
This example shows a horizontal bar chart of 2020 population estimates for 30 countries, rendered with SVG in a React application. D3 v5’s `scaleBand` and `scaleLinear` map country names and population values to the bar positions and lengths, while custom React components draw the axes and marks. The data is loaded as CSV from a GitHub repository, with the population column formatted using D3’s `format` function to appear in billions.
AI-generated descriptionA demonstration of how to start using D3 version 6.