Skip to main content
100%

Fork of Activity 6 tutorial 1

✓ Published0🌍 Public
Nnissisharon61@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025
Forked from Activity 7

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
MIT Licensed

Similar vizzes