Skip to main content
100%

Activity 7 Task1

✓ Published0🌍 Public
Hharipriyaa07
Last edited Jul 10, 2023
Created on Jul 5, 2023
Forked from Hello VizHub

This bar chart displays the population of 20 countries in 2020, sorted by country name on the y-axis with horizontal bars extending to represent population values. The visualization uses React with D3 v5’s `scaleBand` and `scaleLinear` to map data, rendering SVG rectangles via custom React components. The data is loaded from a CSV file using D3’s `csv` method, formatted with `format` to abbreviate large numbers, and includes axis labels and tooltips showing the population value.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes