Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity6_Task1.1

Public visualization

Viewing a saved revision (read-only)

b8ce4028f0d2472987e4d8d85899ebec

activity6_Task1.1

0 stars0🌍 Public
Ssaikarthiknimmagadda@gmail.com
Last edited Apr 3, 2025
Created on Apr 3, 2025
Forked from Hello VizHub

This horizontal bar chart displays the population of ten countries in the year 2000, with light green bars extending from a left-aligned y-axis of country names to an x-axis of population values. The visualization uses D3 v7 to load CSV data via `d3.csv`, scale the values with `scaleLinear` and `scaleBand`, and render axes with `d3.axisBottom` and `d3.axisLeft`. Axis labels are annotated, and the bottom axis formats population values using `d3.format`, abbreviating millions as "B".

AI-generated description