Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Stylized Bar Chart

Public visualization

Stylized Bar Chart

0 stars1🌍 Public
BBen Brophy
Last edited Jan 21, 2022
Created on Dec 30, 2021

A stylized bar chart displays the 2020 populations of ten countries using horizontal bars styled with a teal fill and subtle gridlines. Built with React and D3 v7, it employs `scaleBand` for the categorical country axis, `scaleLinear` for population, and custom React components for axes and marks. Population values are loaded from a CSV using `d3.csv`, formatted with `d3.format`, and rendered as SVG rectangles with native tooltips. The chart includes labeled axes and a clean, modern aesthetic.

AI-generated description

Use D3 utilities and React

Comments

Sign in to join the discussion.

MIT Licensed