Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Colm Lang A2 Heatmap

Public visualization

Viewing a saved revision (read-only)

3ff32d562e934dfd945ed38947049f33

Colm Lang A2 Heatmap

1 star3🌍 Public
CColm Lang
Last edited Mar 8, 2022
Created on Feb 8, 2022

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 description