Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published1🌍 Public
SSampras Dsouza
Last edited Jul 5, 2022
Created on Jun 13, 2022
Forked from Stylized Bar Chart

This example shows the top 10 most populous countries as a horizontal bar chart, with country names on the y-axis and population formatted in billions on the x-axis. It uses React with SVG rendering, the d3.scaleBand and d3.scaleLinear scales for positioning, and d3.csv for loading the UN World Population Prospects 2019 dataset. Custom AxisBottom and AxisLeft components render ticks, while Marks draws rectangles with native SVG tooltips. The chart uses a teal color for bars and the Poppins font.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes