Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity 7

Public visualization

Fork of Activity 7

0 stars0🌍 Public
Ssathvik0311@gmail.com
Last edited Oct 24, 2024
Created on Oct 24, 2024
Forked from Activity 7

A horizontal bar chart ranks ten countries by their 2000 population, using React to render SVG elements. D3 v5 functions (`scaleBand`, `scaleLinear`, `max`, `format`) drive the scales and tick formatting. The chart loads CSV data via `d3.csv` from a GitHub repository, slicing to the top ten rows. Axis components and rectangle marks are built with JSX, with `<title>` elements providing native tooltips.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed