Skip to main content
100%

activity 6_Task 1.2

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

A horizontal bar chart displays the populations of 20 countries for 2020, sorted by country name. The visualization uses React with D3 v5 APIs including `scaleBand`, `scaleLinear`, and `max` to compute scales, while SVG `rect` elements render the bars. Data is loaded from a CSV file via `d3.csv` and formatted using `d3.format`. The chart includes labeled axes with tick marks and a tooltip showing formatted population values.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes