Skip to main content
100%

Stylized Bar Chart

✓ Published1🌍 Public
Jjwlam83
Last edited Jan 13, 2022
Created on Jan 13, 2022

This stylized bar chart displays the populations of the ten most populous countries using a horizontal layout with custom-styled axes and a teal color palette. The visualization loads UN population data from 2019 via a CSV file, then renders the chart as an SVG using React components and D3’s `scaleBand` for the categorical country axis and `scaleLinear` for the population scale. The bottom axis formats tick labels using D3’s `format` utility, converting large numbers from billions to abbreviated form, with tooltips provided by SVG `<title>` elements.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data

MIT Licensed

Similar vizzes