🌍 Public
Viewing a saved revision (read-only)
c6e5e482013346a2a25285a6f1aa99e7
task1
This bar chart shows the population of 30 countries in 2020. Built with React and D3 v5, it uses `d3.scaleBand` and `d3.scaleLinear` to map country names and populations to SVG rectangles. Data is loaded from a CSV file via `d3.csv` and formatted using `d3.format`. Axes are custom-rendered, with hover tooltips displaying the formatted population values.
AI-generated descriptionA demonstration of how to start using D3 version 6.