Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Question 1.1

Public visualization

Viewing a saved revision (read-only)

96e7fc84a4954a94b5aab2107d9a6ef6

Activity 6_Question 1.1

0 stars1🌍 Public
Ssumithdugyala@my.unt.edu
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This example shows a horizontal bar chart of the top ten countries by population in the year 2000, using an SVG rendered through React. The chart uses `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the quantitative x-axis, with formatted tick labels via `d3.format`. Country names are drawn as text labels on the left, while the bars include a native SVG `<title>` tooltip showing the exact population value. Data is loaded asynchronously using `d3.csv` from a GitHub gist.

AI-generated description

A demonstration of how to start using D3 version 6.