Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Colm Lang A2 Heatmap

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed