🌍 Public
Viewing a saved revision (read-only)
e3a054ad86404bae9ef6189c68d7cdec
Fork of Activity 6 tutorial 1
This example shows a horizontal bar chart of the 30 most populous countries in 2020, with population values from a CSV file loaded via `d3.csv`. The chart is built with React and rendered as SVG, using `d3.scaleBand` for the y-axis and `d3.scaleLinear` for the x-axis. Axis ticks and bar marks are generated manually through components that map over scales, with tooltips provided via SVG `<title>` elements and tick labels formatted with `d3.format`.
AI-generated description