Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_tutorial1

Public visualization

Viewing a saved revision (read-only)

882c5da33d1b4af6b555b5198060394f

Activity 6_tutorial1

0 stars2🌍 Public
Cchandrikachowdary867@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Activity 7

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 description

A demonstration of how to start using D3 version 6.