Viewing a saved revision (read-only)
1ff139d63ecb431289571b73674b16dc
CO2 emissions Prototype
This choropleth map visualizes CO2 emissions by country for the year 2023. Countries are colored on a red intensity scale, with darker shades indicating higher emissions, while countries lacking data appear with a gray diagonal pattern. The visualization loads geographic path data from a static SVG file and emission data from a CSV, matching country names to their corresponding SVG paths. The map updates after both datasets load, applying fill colors based on emission values relative to a fixed maximum. The implementation uses React with d3-select for DOM manipulation and d3.csv for data parsing.
AI-generated descriptionThis is the visualization of CO2 emissions per year for a given country. Each country is represented with a unique color. This is the link to the dataset: https://www.kaggle.com/datasets
Eventualy mousing over the data points will tell you the country