Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Activity 7

Public visualization

Viewing a saved revision (read-only)

807f28b5ccb24bc591b8d190a8fadd09

Fork of Fork of Activity 7

0 stars0🌍 Public
Ggoudrohit2000@gmail.com
Last edited Oct 21, 2024
Created on Oct 21, 2024
Forked from Fork of Activity 7

This visualization displays a horizontal bar chart of the top 20 countries by population in 2010, using data loaded from a CSV file via d3.csv. The React app renders SVG bars with d3.scaleBand for the y-axis and d3.scaleLinear for the x-axis, formatting tick labels with d3.format. Axes are custom components, and each bar includes a native SVG tooltip showing the population value using the same formatted scale.

AI-generated description

A demonstration of how to start using D3 version 6.