Skip to main content
100%

activity6_Task1.2

✓ Published1🌍 Public
Ssaikarthiknimmagadda@gmail.com
Last edited Apr 5, 2025
Created on Apr 3, 2025
Forked from Hello VizHub

This bar chart displays the population figures for the top 20 countries in 2020, presented in descending order along a horizontal axis. Each country is represented by a light green rectangle, with the population values read from a CSV dataset hosted on GitHub. The visualization is built using D3.js v7, leveraging `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the categorical y-axis. The axes are rendered via `d3.axisBottom` and `d3.axisLeft`, with custom tick formatting that abbreviates large numbers using suffixes like "B" for billions.

AI-generated description
MIT Licensed

Similar vizzes