Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
Rrstrauss127
Last edited May 12, 2022
Created on May 12, 2022
Forked from Stylized Bar Chart

This stylized bar chart displays the population estimates for the top ten countries using horizontal bars. Built with React and D3 v5, the visualization employs `scaleBand` and `scaleLinear` for positioning, with bars rendered as SVG `rect` elements. The data is loaded from a CSV file of UN Population 2019 estimates, formatted with D3’s `format` function to abbreviate large numbers (e.g., “1.4B”). Axis components are custom React components, and hover tooltips show formatted population values.

AI-generated description

Refactoring bar charts code

MIT Licensed

Similar vizzes