Fork of Activity 7
✓ Published0🌍 Public
This chart shows the top 30 most populous countries in 2020 using horizontal bars, with the bar length encoding each country’s population in billions. The visualization is built with React and D3 v5, using `scaleBand` and `scaleLinear` for the axes and rendering marks as SVG `<rect>` elements. Data is loaded from a remote CSV file via D3’s `csv` module. The y-axis labels are positioned inside the left margin, and the x-axis uses a SI formatter to convert values like 1.4G into 1.4B for readability.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed