Skip to main content
100%

Fork of Refactored Bar Chart

✓ Published1🌍 Public
Iivipaneva2002@gmail.com
Last edited Mar 1, 2024
Created on Mar 1, 2024

This bar chart visualizes the top 10 most populous countries using 2020 data from the United Nations World Population Prospects 2019, rendered as horizontal bars with SVG and React. It shows population values with formatted tick labels (e.g., "1.4B") and a tooltip on each bar. The visualization uses d3.scaleBand and d3.scaleLinear for layout, while React components handle axes and marks. The code also includes a custom axis tick formatter that converts SI units from "G" to "B".

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