Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity_6_task1

Public visualization

Viewing a saved revision (read-only)

0bed8abc064c4eca83bc832c966dca30

activity_6_task1

0 stars0🌍 Public
Ssjannaikode@gmail.com
Last edited Apr 3, 2025
Created on Apr 3, 2025
Forked from Hello VizHub

This horizontal bar chart displays the population of 30 countries in 2020, ordered by country name. Built with React and D3 v5, it uses an SVG rendering with a linear x-scale for population values and a band scale for countries. The code employs `scaleBand`, `scaleLinear`, `max`, and `format` from D3, with data loaded from a CSV file. Interactive tooltips show the population value for each bar, while blue axis lines and green bars provide clear visual separation.

AI-generated description