Skip to main content
100%

React D3 CSV BarChart

✓ Published2🌍 Public
Ggjonor
Last edited Feb 5, 2020
Created on Feb 3, 2020
Forked from React Starter

A React bar chart displays the nominal GDP in US dollars for 31 countries, using the latest available yearly data from the World Bank's World Development Indicators. The chart renders as an SVG with linear and band scales, using D3 v5 functions such as `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` to position bars and axes. Data is loaded from CSV files and parsed with D3's `text` and `csvParse` methods, then filtered and sorted within React hooks.

AI-generated description
MIT Licensed

Similar vizzes