Skip to main content
100%

Activity 6

✓ Published1🌍 Public
Aamireddy.sw@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

A horizontal bar chart displays population estimates for 30 countries in 2020, sorted by country name. The chart uses D3 v5 and React to render SVG elements, with `d3.scaleBand` for the y-axis and `d3.scaleLinear` for the x-axis. Data is loaded via `d3.csv` from a GitHub repository, with population values converted from thousands. The code formats tick labels using `d3.format` and includes interactive tooltips via SVG `<title>` elements.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes