Skip to main content
100%

Fork of Fork of ACTIVITY_6_TASK1

✓ Published1🌍 Public
Ssravani1969@gmail.com
Last edited Mar 28, 2025
Created on Mar 28, 2025

This horizontal bar chart displays the population of the top 30 countries in 2020, with each country represented by a lightgreen bar scaled against a linear population axis. The visualization uses d3.v7 with SVG rendering, employing d3.scaleLinear for the x-axis and d3.scaleBand for the y-axis. The code loads CSV data from a GitHub repository, formats population values with d3.format to show abbreviations like "200B", and applies margins and axis labels for clarity. Both axes include custom tick formatting and rotated text labels.

AI-generated description
MIT Licensed

Similar vizzes