Skip to main content
100%

ACTIVITY6TASK-1

✓ Published0🌍 Public
HHanuReddy
Last edited Apr 9, 2024
Created on Apr 9, 2024
Forked from Hello VizHub

This visualization displays a horizontal bar chart ranking the populations of 20 countries for 2010, using green bars labeled along the left axis with a formatted population scale on the bottom. The React application loads data from a CSV file via d3.csv, then uses d3.scaleBand and d3.scaleLinear to position bars and axes, rendered as SVG rectangles. Tooltips, provided through native SVG `<title>` elements, show the exact population in billions using d3.format.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes