Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7

Public visualization

Viewing a saved revision (read-only)

c4b8a4af77c14fb79b77a1edd7747080

Activity 7

0 stars0🌍 Public
Ssaikrishnabussa
Last edited Jul 20, 2023
Created on Jul 20, 2023
Forked from Fork of D3 Starter

This example shows the 20 most populous countries in 2020 as a horizontal bar chart, with country names on the y-axis and population values on the x-axis. The bars are rendered as SVG rectangles using React components, with scales created via `d3.scaleBand` and `d3.scaleLinear`. Axis ticks are formatted using `d3.format` to convert values to billions. The data is loaded from a CSV file using `d3.csv`, and the chart includes tooltips via SVG `<title>` elements.

AI-generated description

A demonstration of how to start using D3 version 6.