Activity6_tutorial-1
✓ Published0🌍 Public
This visualization displays the top 30 countries by 2020 population using a horizontal bar chart rendered with SVG in a React application. The bars are populated from a CSV dataset, with population values formatted in billions using D3’s `format`. The chart uses `scaleBand` for the categorical country axis, `scaleLinear` for the quantitative population scale, and custom React components for the axes and marks. The code imports `csv`, `scaleBand`, and `scaleLinear` from d3.v5, while tooltips appear via SVG `<title>` elements on each rectangle.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed