Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Tutorial1

Public visualization

Viewing a saved revision (read-only)

535869ddf0534a34bb20323d2749c782

Activity6_Tutorial1

0 stars0🌍 Public
Kkandooriabhiram@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025
Forked from Activity6_Task1

This bar chart displays the 2020 populations of 30 countries, sorted by country name along the vertical axis with population values extending horizontally. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, rendering SVG rectangles for each bar. The data is loaded as CSV via `d3.csv` from a GitHub repository, with axis ticks formatted using `d3.format`. Tooltips show exact population values on hover, and tick lines are styled blue with a light green bar fill.

AI-generated description