Skip to main content
100%

activity_6_task1

✓ Published0🌍 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.

MIT Licensed

Similar vizzes