Skip to main content
100%

Margin Convention

✓ Published0🌍 Public
Aamiteshwarr
Last edited Jan 19, 2023
Created on Jan 19, 2023

This example shows the top 10 most populous countries as a horizontal bar chart with gridlines but no axes or labels. React manages the interface, while D3 v5's `csv`, `scaleBand`, and `scaleLinear` handle data loading and scaling. The chart renders as SVG, with country names on the y-axis and population values on the x-axis, using margins to position the inner plot area. Data comes from the United Nations World Population Prospects 2019 dataset.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes