Skip to main content
100%

Activity 6 Question 1.2

✓ Published0🌍 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
MIT Licensed

Similar vizzes