Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Act-6 Task-1

Public visualization

Viewing a saved revision (read-only)

64aeef3d4e2b4495b53f965b161a6843

Act-6 Task-1

0 stars0🌍 Public
Bbhargavireddy4016@gmail.com
Last edited Mar 31, 2025
Created on Mar 31, 2025
Forked from Hello VizHub

This example shows a horizontal bar chart of 2010 population figures for 20 countries, with bars sorted by country name and labeled in billions. The visualization uses React to render SVG elements, with D3 v5’s `scaleBand` and `scaleLinear` for positioning, and d3-format’s `format('.2s')` for tick labels. Data is loaded asynchronously from a CSV via `d3.csv`, and hover tooltips are provided through SVG `<title>` elements.

AI-generated description

A demonstration of how to start using D3 version 6.