Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity_6_task1

Public visualization

Viewing a saved revision (read-only)

95213af72df744a0b5027bf444474ef9

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

A demonstration of how to start using D3 version 6.