Skip to main content
100%

Activity 6 q2

✓ Published0🌍 Public
Ssairamisetti3829@gmail.com
Last edited Oct 19, 2024
Created on Oct 19, 2024
Forked from Activity 7

This example shows a horizontal bar chart of the 2010 population for 20 countries. Each country is listed on the y-axis with a green bar whose length is proportional to its population. The visualization is built with React and D3 v5, using `scaleBand` and `scaleLinear` to position the bars, with data loaded via `d3.csv` from a GitHub-hosted dataset. Tooltips display formatted population values, and the chart is rendered as SVG.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes