Skip to main content
100%

activity 6_Task 1

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

This interactive bar chart displays the 2020 populations of the top 30 countries, with each country’s value encoded as a horizontal bar’s length. Built with React and SVG, the visualization uses D3 v5 scales (`scaleBand` for the categorical axis, `scaleLinear` for the numeric axis) and `format` to abbreviate population labels (e.g., “B” for billions). Data is loaded asynchronously from a CSV via D3’s `csv` and parsed into numeric population values, with marks rendered as colored rectangles.

AI-generated description
MIT Licensed

Similar vizzes