Activity6_q1.2
✓ Published0🌍 Public
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 descriptionA demonstration of how to start using D3 version 6.
MIT Licensed