🌍 Public
Viewing a saved revision (read-only)
882c5da33d1b4af6b555b5198060394f
Activity 6_tutorial1
This example shows a horizontal bar chart of population figures for 30 countries in 2020, with a tooltip on each bar when hovered. The visualization is built with React and rendered as SVG, using D3 v5’s `scaleBand` and `scaleLinear` for axes. Data is loaded from a CSV via `d3.csv` and formatted with `d3.format`. The chart includes blue tick lines, gray tick labels, and green bars.
AI-generated descriptionA demonstration of how to start using D3 version 6.