Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Question 1.1

Public visualization

Viewing a saved revision (read-only)

ef57dab6b2254282b9bfebc83e75cb50

Activity 6_Question 1.1

0 stars1🌍 Public
Mmsnikhil2608@gmail.com
Last edited Apr 3, 2025
Created on Apr 3, 2025
Forked from Hello VizHub

This horizontal bar chart displays the population of ten countries in the year 2000, with each bar’s length proportional to its population value. The visualization uses a linear x-scale for population and a categorical y-scale for country names, with tooltips revealing the exact formatted population figures. Built with React and D3 v5, the code employs `scaleBand` and `scaleLinear` for scaling, `csv` for data loading from a remote GitHub source, and renders the chart as an SVG. The chart includes labeled axes for population and country, with the y-axis ordered by the country values.

AI-generated description