Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

TASK1

Public visualization

TASK1

0 stars0🌍 Public
Ssanjanadadi19@gmail.com
Last edited Mar 30, 2024
Created on Mar 30, 2024
Forked from Hello VizHub

This example shows a horizontal bar chart comparing the populations of ten countries in the year 2000, ranked by country name on the y-axis and population in billions on the x-axis. It renders as an SVG using React components and D3 v5 scales, with d3.scaleBand for bars, d3.scaleLinear for the axis, and d3.format for tick labels (e.g., “1.2B”). Data is loaded via d3.csv from a GitHub-hosted dataset, with hover tooltips displaying formatted population values.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed