Skip to main content
100%

Activity-6_Question-1.2

✓ Published0🌍 Public
Hhoneyravuri.711@gmail.com
Last edited Apr 4, 2025
Created on Apr 4, 2025
Forked from Hello VizHub

This bar chart displays population figures for 20 countries from a 2010 dataset, ordered along a vertical categorical axis with horizontal bars extending proportionally to population values. The visualization uses D3 v7 with SVG rendering, employing `d3.scaleLinear` for the x-axis, `d3.scaleBand` for the y-axis, and `d3.axisBottom`/`d3.axisLeft` for tick marks. Data loads asynchronously from a CSV file via `d3.csv`, with bars drawn using SVG `rect` elements filled in red.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes