Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Question 1.1_Harini

Public visualization

Viewing a saved revision (read-only)

10c59dbb585d45f9baaa0fae504622f0

Activity 6_Question 1.1_Harini

0 stars1🌍 Public
Kkamarthyharini24@gmail.com
Last edited Apr 2, 2024
Created on Apr 2, 2024

A horizontal bar chart displays the populations of ten countries in the year 2000, sourced from a CSV file via d3.csv. The chart uses React with D3 v5 scales, rendering SVG rectangles for each bar. A linear scale maps population values to bar widths, while a band scale positions countries along the y-axis. Axis components generate the tick marks and labels, and hover tooltips show formatted population values.

AI-generated description

A demonstration of how to start using D3 version 6.