Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Bar Chart - Axes

Public visualization

Viewing a saved revision (read-only)

2895e59b802b4cb3b7cf20404bbb558e

D3 Bar Chart - Axes

0 stars1🌍 Public
Ssathishkottravel
Last edited Apr 25, 2020
Created on Apr 25, 2020
Forked from D3 Bar Chart

This bar chart displays the populations of the world’s ten most populous countries, from China down to Mexico, with horizontal bars sized by population. The visualization uses D3 v5’s `scaleLinear` and `scaleBand` to map data values to positions, and `axisLeft` and `axisBottom` for the country and population axes. It loads data from a CSV file, converts population figures, and animates bar growth via `transition`. The chart is rendered as SVG within a React project, with styling controlled by an external stylesheet.

AI-generated description

A bare minimum HTML page.

See also React Starter.