Skip to main content
100%

Fork of activity 6_Task 1 Q2

✓ Published0🌍 Public
Pperamranji
Last edited Mar 31, 2025
Created on Mar 31, 2025

This chart displays the populations of 20 countries in 2010 using a horizontal bar chart. The bars are ordered from largest to smallest population, with countries on the y-axis and population values on the x-axis. The visualization is built with D3 v5, using `d3.scaleLinear` and `d3.scaleBand` for axis scaling, while `d3.axisBottom` and `d3.axisLeft` create the axes. Data is loaded asynchronously from a CSV file with `d3.csv` and rendered as SVG rectangles.

AI-generated description
MIT Licensed

Similar vizzes