Colm Lang A2 Heatmap
✓ Published3🌍 Public
This heatmap visualizes the average share of renewable energy production across European countries from 2000 to 2020. Each row represents a country, with colored squares indicating yearly percentage values, ranging from dark green (low) to light green (high). The visualization uses the p5.js library, loading CSV data via `loadTable`, and draws the grid of squares with `square()`. A color legend maps percentages to a three-stop gradient created with `lerpColor`. Country and year labels are placed along the axes for reference.
AI-generated descriptionMIT Licensed