Skip to main content
100%

Activity6 Task1Question1

✓ Published1🌍 Public
Ppslharika@gmail.com
Last edited Apr 4, 2024
Created on Apr 3, 2024
Forked from Activity 7

A horizontal bar chart displays the populations of ten countries in the year 2000, sorted by country name. Each bar’s length encodes the population value, with a tooltip showing the formatted number on hover. The visualization is built with React and D3 v5, using `scaleBand` and `scaleLinear` for scales, SVG rectangles for marks, and axes rendered from custom React components. Data is loaded from a CSV file via D3’s `csv` method, and population values are formatted using D3’s `format` function.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes