Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Question 1.2

Public visualization

Viewing a saved revision (read-only)

0179e77d275a404f980df9e686da1464

Question 1.2

0 stars0🌍 Public
Sshivasaikumart@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This example displays a horizontal bar chart of population data for twenty countries in 2010. The visualization uses React with SVG rendering, while D3’s scaleBand and scaleLinear handle the categorical and linear axes, respectively. The code loads CSV data from a GitHub repository using d3.csv, applies a custom SI format to abbreviate population values, and includes tooltips via SVG title elements. Blue tick lines and green bars are styled through CSS.

AI-generated description

A demonstration of how to start using D3 version 6.