Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Barchart

Public visualization

Viewing a saved revision (read-only)

1a415414ac1f40bdb34967e1492a59d9

D3 Barchart

0 stars0🌍 Public
EEkaterina Aladyeva
Last edited Jan 5, 2020
Created on Jan 4, 2020
Forked from HTML Starter

This example displays a horizontal bar chart of the ten most populous countries, with population values derived from a CSV file and scaled by 1000. The chart uses D3 v5’s `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to position bars and axes. Population ticks are formatted with `format('.3s')` and converted from millions to billions. The SVG is rendered in a React context, with bars styled using steelblue fills and axes annotated with a population label and title.

AI-generated description

A bare minimum HTML page.

See also React Starter.