Skip to main content
100%

Fork of Activity6_Task1_Q1.2

✓ Published0🌍 Public
Ggreeshmareddy135@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024

This horizontal bar chart displays the populations of twenty countries in 2010, sorted by country name along the vertical axis with population magnitude encoded by bar length on the horizontal axis. The visualization is built with React and D3 v5, using `scaleBand` for the categorical y-axis, `scaleLinear` for the continuous x-axis, and SVG `<rect>` elements for the bars. Population values are formatted using D3's `format` function to abbreviate large numbers with suffixes like "B" for billions. Data is loaded asynchronously from a remote CSV file via D3's `csv` parser.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes