Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity8_Task1

Public visualization

Activity8_Task1

0 stars0🌍 Public
Vvishnupriyapalagiri@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

A horizontal bar chart displays the 2020 populations of 30 countries, sorted alphabetically by country name, with green bars extending from a blue left axis. The visualization uses React to render SVG elements, with d3.scaleBand for the categorical y-axis and d3.scaleLinear for the quantitative x-axis, formatted using d3.format. Population data is loaded from a CSV file via d3.csv, and hover tooltips reveal exact values through SVG title elements.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed