Skip to main content
100%

Activity6_q1.2

✓ Published0🌍 Public
Ssaibharath7thota@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This visualization displays population figures for 20 countries in 2010 as a horizontal bar chart rendered with SVG. The chart uses D3 scales (scaleBand for the y-axis, scaleLinear for the x-axis) to position bars, with axes generated via the AxisBottom and AxisLeft components. Data is loaded from population values in a CSV file, which are multiplied by 1,000, and formatted with D3's format function to abbreviate large numbers as billions.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes