Skip to main content
100%

Fork of 2000_Population_20_Countries_Data_in_2010

✓ Published1🌍 Public
Aadityatrip9899@gmail.com
Last edited Oct 24, 2024
Created on Oct 24, 2024

This bar chart displays the 2010 population of 20 countries, sorted by country name along the vertical axis. The visualization uses React with D3 v5 to render SVG bars, with horizontal bar lengths representing population values. The code applies `scaleBand` for the categorical y-axis, `scaleLinear` for the quantitative x-axis, and `format` for abbreviating tick labels (e.g., converting G to B). Data is loaded asynchronously via `csv` from a GitHub-hosted CSV file. Tooltips appear on hover using SVG `<title>` elements, and axes include labeled ticks with custom styling.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes