Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Colm Lang A2 Bar Chart

Public visualization

Fork of Colm Lang A2 Bar Chart

0 stars0🌍 Public
MManideepChakilam
Last edited Mar 5, 2022
Created on Mar 5, 2022

A vertical bar chart displays the average share of renewable energy production for EU member states from 2000 to 2020. Each bar represents a single year, with height scaled proportionally to the renewable percentage. The chart uses the p5.js API, including `loadTable` to fetch CSV data from a GitHub gist, and custom functions to draw axes, ticks, and bars via `line`, `rect`, and `text`. A light blue background and green bars render the dataset’s yearly values.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed