Skip to main content
100%

Activity6_Tutorial1

✓ Published1🌍 Public
SSurya Tejas Reddy Nimma
Last edited Mar 30, 2025
Created on Mar 30, 2025
Forked from Hello VizHub

This example shows a horizontal bar chart of the top 30 countries by 2020 population, ranked from largest to smallest. The bars are rendered as SVG rectangles colored light green, with a linear x-axis scaled to the population values and a banded y-axis listing country names. The chart uses D3 version 7, specifically `d3.axisBottom` and `d3.axisLeft` for axes, `d3.scaleLinear` and `d3.scaleBand` for scaling, and loads data from a CSV file using `d3.csv`.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes