Fork of Colm Lang A2 Bar Chart
✓ Published0🌍 Public
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 descriptionMIT Licensed