🌍 Public
Viewing a saved revision (read-only)
02a5ec90aa824d82a474d8986edc721d
Activity6_ Task 1
This example shows a horizontal bar chart ranking population figures for the top 30 countries in 2020, using React with SVG rendering. The visualization builds scales with d3.scaleBand and d3.scaleLinear, formats tick labels with d3.format, and reads CSV data from a GitHub repository via d3.csv. Blue bars represent each country, with axis components rendering ticks and labels, while hover tooltips display formatted population values.
AI-generated descriptionA demonstration of how to start using D3 version 6.