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