Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Question 1.2

Public visualization

Activity 6 Question 1.2

0 stars0🌍 Public
SSai Gottumukkala
Last edited Apr 3, 2025
Created on Apr 3, 2025

This example displays a horizontal bar chart of the 2010 population for 20 countries, sorted by country name. The bars use a light green fill, with blue tick marks on the x-axis and gray labels for countries. It is built with React and D3 v5, using `csv` for data loading, `scaleBand` and `scaleLinear` for scales, and SVG `rect` elements for the bars. The chart includes interactive tooltips showing the population value in billions, and axis labels for "POPULATION-2010" and "COUNTRY".

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed