Skip to main content
Public

Share visualization

Loading preview…

Untitled

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Untitled

0 stars0Public
SSnigdha6698
Last edited Mar 6, 2022
Created on Mar 6, 2022

This visualization shows the average share of renewable energy production from 2000 to 2020 across EU member states, with each year plotted as a green vertical bar. The bar heights are scaled proportionally to the data’s maximum value, and axis tick labels appear at intervals rounded up to the nearest five. Built with p5.js, the sketch loads a CSV dataset via `loadTable`, draws axes and gridlines using Canvas drawing functions like `line` and `rect`, and spaces bars dynamically based on row count and available chart width.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed