Skip to main content
100%

Fork of Activity6_Q2

✓ Published0🌍 Public
Hharinihari6791@gmail.com
Last edited Apr 3, 2025
Created on Apr 3, 2025
Forked from Activity6_Q1

This chart displays the top 20 countries by population in 2010, using a horizontal bar chart rendered as an SVG. Countries are sorted in descending order along the y-axis, with bar lengths proportional to population on a linear scale and formatted numerical labels shown at each bar's end. The visualization is built with D3 v7, using `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the categorical y-axis, along with `d3.axisLeft` and `d3.axisBottom` for axes. Data is loaded from a remote CSV file, filtered to the 2010 column, and styled with light green bars that darken on hover.

AI-generated description
MIT Licensed

Similar vizzes