Skip to main content
100%

Fork Activity 6_Question1.2

✓ Published0🌍 Public
Aakhillenkalapally1999@gmail.com
Last edited Apr 5, 2024
Created on Apr 5, 2024

This example shows a horizontal bar chart of 2010 population data for the world’s most populous countries, sorted by country name. The chart uses React to render SVG elements, with D3’s `scaleBand` and `scaleLinear` mapping country names and population values to pixel coordinates. Data is loaded asynchronously via `csv` from a GitHub-hosted CSV file, and each bar includes a native SVG `<title>` tooltip showing the formatted population value.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes