activity 6
✓ Published1🌍 Public
This bubble chart displays the population of 30 countries in 2020, using horizontal bars where length corresponds to population size. The visualization is built with React and D3 version 5, rendering as SVG. It loads data from a CSV file via D3’s `csv` function, scales the x-axis with `scaleLinear` and the y-axis with `scaleBand`, and uses a custom `Marks` component to draw the rectangles, with tooltips formatted using D3’s `format` function.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed