🌍 Public
Viewing a saved revision (read-only)
4d955cb831a148938acc4f9d9136b28d
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 description