Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6

Public visualization

Activity 6

0 stars0🌍 Public
Eeragarlaveena122@gmail.com
Last edited Mar 27, 2025
Created on Mar 27, 2025
Forked from Activity 7

A horizontal bar chart displays the population of 30 countries for 2020, using the D3 library in a React component. The chart employs D3 scaleBand for the y-axis and scaleLinear for the x-axis, with tick labels formatted using D3's format function to abbreviate large numbers. Data is loaded via CSV, and SVG rectangles are rendered for each bar, with tooltips showing the exact population value.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed