Skip to main content
100%

Fork of Stylized bar chart

✓ Published0🌍 Public
Yyingzhe-z
Last edited Apr 1, 2021
Created on Apr 1, 2021
Forked from Stylized bar chart

This fork of a stylized bar chart displays the top 10 countries by 2020 population using a horizontal bar layout. Population values are formatted with the `d3.format` function, abbreviating billions as “B,” and each bar includes a native SVG `<title>` tooltip showing the precise value. The chart is built with React and D3 v6, using `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. Data loads asynchronously from a CSV file via the `useData` hook, and the visualization renders entirely as SVG with custom axis components and Poppins typography.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes