Skip to main content
100%

Fork of Activity 7

✓ Published0🌍 Public
Aakhillenkalapally1999@gmail.com
Last edited Apr 5, 2024
Created on Apr 5, 2024
Forked from Activity 7

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 description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes