Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
JJyothicherukuri
Last edited Mar 6, 2022
Created on Mar 6, 2022
Forked from Stylized Bar Chart

This example visualizes the top 10 most populous countries using a horizontal bar chart. The chart displays population counts for the year 2020, sourced from the United Nations World Population Prospects 2019 dataset. Built with React, D3 v5, and SVG, the visualization uses `d3.scaleBand` for the categorical y-axis, `d3.scaleLinear` for the quantitative x-axis, and D3's `format` function to display population labels in billions. The SVG rectangles include tooltips, and the chart employs a Poppins font with a teal color scheme for the bars.

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