Skip to main content
100%

Stylized bar chart

✓ Published1🌍 Public
Ssurikmeetr
Last edited Mar 9, 2021
Created on Mar 9, 2021
Forked from Refactor bar chart

A stylized horizontal bar chart displays the ten most populous countries by estimated 2020 population, using a teal fill and the Poppins font. Population values are formatted in billions with a custom tick formatter, and each bar includes a native SVG tooltip. The chart is built with React and D3 v6, using `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and SVG `rect` elements generated by the `Marks` component. Data originates from a UN population CSV loaded via D3’s `csv` method.

AI-generated description

Adding styles to the chart.

MIT Licensed

Similar vizzes