Skip to main content
100%

Activity 6_Task 1

✓ Published0🌍 Public
SSai Gottumukkala
Last edited Apr 3, 2025
Created on Apr 1, 2025
Forked from Hello VizHub

This example shows a horizontal bar chart of population estimates for 30 countries in 2020, sorted alphabetically by country name. React components render the SVG visualization, while D3 v5 utilities handle data loading with `d3.csv`, linear scaling with `scaleLinear` for the x-axis, and band scaling with `scaleBand` for the y-axis categories. The code formats tick labels using `d3.format`, and bars include native SVG `<title>` tooltips. Data comes from a remote CSV file, with population values multiplied by 1000 during preprocessing.

AI-generated description
MIT Licensed

Similar vizzes