Skip to main content
100%

ACTIVITY_6_TASK1

✓ Published6🌍 Public
Ssravani1969@gmail.com
Last edited Mar 28, 2025
Created on Mar 27, 2025
Forked from Hello VizHub

This bar chart displays the 2020 population estimates for the top 30 countries, using a horizontal layout where bar length encodes population values. The visualization is rendered as SVG with D3 v7, using `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the y-axis categories. Data is loaded from a CSV file via `d3.csv`, with the axis labels formatted to abbreviate large numbers (e.g., "1.2B"). The chart applies a light green fill to bars and includes labeled axes for population and country names.

AI-generated description
MIT Licensed

Similar vizzes