Skip to main content
100%

activity 6_Task 1

✓ Published0🌍 Public
Bbhargavireddy4016@gmail.com
Last edited Mar 31, 2025
Created on Mar 30, 2025
Forked from Hello VizHub

This interactive bar chart visualizes the 2020 population rankings of 30 countries, using a horizontal layout for easy comparison. The chart is built with React and D3 v5, where D3’s `scaleBand` and `scaleLinear` handle the axis mappings and the SVG rectangles are generated from the CSV data. The bottom axis uses a `.2s` format to abbreviate large numbers, converting 'G' to 'B' for readability, while the left axis lists country names. Tooltips on each bar provide the precise population value, and the interface is styled with a green fill and blue axis ticks.

AI-generated description
MIT Licensed

Similar vizzes