Skip to main content
100%

Activity6_Q1.2

✓ Published0🌍 Public
Ddabbararakshitha@gmail.com
Last edited Apr 3, 2025
Created on Apr 3, 2025
Forked from activity6_Task1.2

This D3.js v7 bar chart visualizes the population of 20 countries for the year 2000, sorted along a linear x-axis scale. Each country is represented by a light green rectangle, with its length proportional to population, using `d3.scaleLinear` and `d3.scaleBand` for positioning. The chart renders as an SVG, with axes annotated via `d3.axisBottom` and `d3.axisLeft`, including tick labels formatted to show millions and billions. Population data is fetched asynchronously from a CSV file using `d3.csv`.

AI-generated description
MIT Licensed

Similar vizzes