Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Stylized Bar Chart

Public visualization

Stylized Bar Chart

0 stars1🌍 Public
JJakub
Last edited Dec 10, 2021
Created on Dec 10, 2021

This stylized bar chart displays the population of ten countries from the UN Population 2019 dataset. Using React with D3 v7, the visualization employs `d3.scaleBand` and `d3.scaleLinear` to map data to SVG rectangles, with axes generated from `xScale.ticks()` and formatted using the SI format `.2s`. The chart features custom tick styling, axis labels, and tooltips via SVG `<title>` elements.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed