Skip to main content
100%

D3 Barchart

✓ Published0🌍 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.

MIT Licensed

Similar vizzes