Skip to main content
100%

Activity 7

✓ Published0🌍 Public
Iindushashi.g@gmail.com
Last edited Jun 25, 2023
Created on Jun 25, 2023
Forked from ICE6-ESWARPVR

This visualization displays the top 20 countries by population in 2020 using a horizontal bar chart, rendered as SVG elements within a React application. The chart uses D3's `scaleBand` and `scaleLinear` to map country names and population values to visual positions, with a red-tinted axis and green bars. Population data is loaded via D3's `csv` function from a remote URL, and tooltips show formatted values using D3's `format` API. The chart includes custom axis components that label values with a "B" suffix for billions.

AI-generated description

Bar chart- Displaying the top 30 countries with the most population in 2020

MIT Licensed

Similar vizzes