Skip to main content
100%

Activity_6

✓ Published0🌍 Public
Ssanjanadadi19@gmail.com
Last edited Mar 30, 2024
Created on Mar 30, 2024
Forked from Hello VizHub

A horizontal bar chart displays the 2020 populations of 30 countries, sourced from a CSV file via the D3 `csv` function. The visualization uses React to render SVG elements, with D3's `scaleBand` and `scaleLinear` mapping country names and population values to positions. Tooltips reveal exact population figures, and axes include custom tick formatting that abbreviates large numbers. The chart applies a green fill to marks and a blue stroke to axis lines.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes