Skip to main content
100%

Activity6_Task 1.2

✓ Published1🌍 Public
Mmaheshsachin1234@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025
Forked from Hello VizHub

This example displays a horizontal bar chart comparing the 2010 populations of 20 countries. The chart uses a linear scale for population on the x-axis and a band scale for countries on the y-axis, with each bar rendered as a light green rectangle. Built with D3 v7, the visualization renders as SVG and explicitly constructs axes and marks through modular functions. The left axis lists country names, while the bottom axis formats population values in billions using a tick formatter. Data is loaded asynchronously from a CSV URL via `d3.csv`.

AI-generated description
MIT Licensed

Similar vizzes