🌍 Public
Viewing a saved revision (read-only)
5968dc105b4041aeb31c242628f2a51d
Stylized Bar Chart
This stylized bar chart displays the top 10 countries by population in 2020, using horizontal bars with teal fills that turn orange on hover. Built with React and D3’s `scaleBand` and `scaleLinear`, it loads CSV data via the `csv` function from `d3-fetch`, formats axis ticks with `format('.2s')`, and renders as SVG. The chart includes labeled axes and native tooltips via the `<title>` element.
AI-generated descriptionA program that loads in saome data using d3 utilities and uses React to keep track of the data.