Skip to main content
100%

Stylized Bar Chart

✓ Published0🌍 Public
Vvans01
Last edited Apr 21, 2020
Created on Apr 21, 2020
Forked from Stylized Bar Chart

This example displays the ten most populous countries as horizontally oriented bars, ranked by population with a color-coded teal fill and hover tooltips showing formatted values. It loads population data from the United Nations World Population Prospects 2019 dataset, processing it via d3.csv and sorting to the top ten entries. The visualization uses React components for rendering SVG elements, with d3.scaleBand for categorical y-axis positioning and d3.scaleLinear for the continuous x-axis, along with custom axis components and d3.format for axis tick labels.

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