Skip to main content
100%

Green house gas bar chart

✓ Published0🌍 Public
VVikil Lakkavatri
Last edited Feb 11, 2023
Created on Feb 11, 2023
Forked from React Starter

This visualization displays greenhouse gas emissions by country using a bar chart, with the data loaded from a CSV file containing country names and population figures. The chart renders as SVG elements within a React component, drawing only the X and Y axes as black lines using basic SVG line elements. The code relies on React hooks (useState, useEffect) and the d3.csv function to fetch and parse the data, while d3.v5 is loaded via CDN. The visualization uses a fixed 450×450 pixel SVG canvas with no bars actually drawn, showing only the coordinate system and data loading foundation.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes