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