Skip to main content
100%

Activity 6_Question 1

✓ Published0🌍 Public
Aakhilasannayila@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This visualization displays the population of ten countries in the year 2000 as a horizontal bar chart, with country names on the y-axis and population counts on the x-axis. It uses React and D3 v5 to render SVG elements; the `scaleBand` and `scaleLinear` functions handle the axes, while the data is fetched from a CSV file stored on GitHub. The bars are green, and hovering over a bar reveals its exact population via a tooltip, formatted with abbreviations like 'B' for billions.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes