Skip to main content
100%

Activity 6 Task Q 1.2

✓ Published0🌍 Public
LLohitha Konidena
Last edited Apr 1, 2025
Created on Apr 1, 2025
Forked from Hello VizHub

This horizontal bar chart displays the 2010 population for the top 20 countries, using a light green fill for each bar. Country names appear on the y-axis, while the x-axis measures population in billions, formatted with D3’s `.format` method. The chart is built with D3 v7, using `d3.scaleLinear` and `d3.scaleBand` to map data, and renders as an SVG. Data is loaded from a CSV file hosted on GitHub, filtered to the first 20 rows.

AI-generated description
MIT Licensed

Similar vizzes