Skip to main content
100%

Fork of Hourly Electricity Usage Trend Chart

✓ Published0🌍 Public
Yyuting89830@gmail.com
Last edited Jan 2, 2024
Created on Jan 2, 2024

This visualization displays a 14-day trend of hourly electricity usage, with each line representing a specific time of day (e.g., "HH:mm") and showing how usage varies across the recent two weeks. It fetches JSON data from a GitHub repository and processes it with Moment.js to calculate usage differences and label dates as weekday names. The chart is rendered using Chart.js on a Canvas element, with randomly assigned line colors. The y-axis represents electricity generation/usage, while the x-axis categorizes dates by weekday.

AI-generated description
MIT Licensed

Similar vizzes