Skip to main content
100%

The Margin Convention Outtake

✓ Published5🌍 Public
CCurran Kelleher
Last edited Nov 18, 2019
Created on Sep 13, 2019
Forked from Pathetic Bar Chart

This interactive example uses React with D3 v5 to display the top 10 most populous countries from the UN World Population Prospects 2019 dataset as a minimal bar chart, lacking axes or labels. The SVG rendering maps each country’s population to a horizontal bar’s width using `d3.scaleBand` for the y-axis and `d3.scaleLinear` for the x-axis, with the chart translated by a fixed margin. The visualization intentionally omits conventional chart furniture, highlighting the necessity of margins and axes in typical visualizations.

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