Skip to main content
100%

Activity6_Task1

✓ Published2🌍 Public
Ssreejabommineni1506@gmail.com
Last edited Apr 16, 2025
Created on Mar 30, 2025
Forked from Hello VizHub

This horizontal bar chart displays the populations of up to thirty countries, sorted from largest to smallest, with a teal fill for each bar. Built with React and D3 v7, it renders as an SVG, using `scaleLinear` for the population axis and `scaleBand` for the categorical country axis. The data is loaded from a CSV file via `d3.csv`, with a fallback to sample data if the fetch fails. Axis ticks are formatted to display millions (e.g., "1M").

AI-generated description
MIT Licensed

Similar vizzes