🌍 Public
Viewing a saved revision (read-only)
2a18b003445b4344bfb903946b058c96
Activity6_Task1_Q1.2
This interactive bar chart visualizes the population of 20 countries for the year 2010. Each horizontal bar's length is proportional to population, with countries listed on the y-axis and population values on the x-axis, formatted in billions (e.g., "1.2B"). The visualization is built with React and D3 v5, using `scaleBand` for the categorical y-axis and `scaleLinear` for the population x-axis. Data is loaded from a remote CSV file using D3's `csv` function, and the chart is rendered as an SVG with tooltips showing exact values.
AI-generated descriptionA demonstration of how to start using D3 version 6.