Welcome to wGrid Dashboard!

This dashboard is a work in progress. It is not yet complete, but it is being actively developed.

My main aim is to combine what I like about National Grid: Live and Energy Dashboard into a single dashboard, while making it easier for anyone else that also wants to develop a dashboard to use the data.


How does it work?

The data is sourced from a number of different sources, and then combined into a single database. This DB then serves a number of different API (Application Programming Interface) endpoints, including the current electricity mix and historical data for a given time period.

The data is then used to generate a number of different charts, through chart.js, and is displayed.


Can I use this API for [project]?

One of the main goals is to make the API stable and reliable enough for use in not just my projects, but other's too. For the moment, I will not stop you using it ('Access-Control-Allow-Origin' is set to '*' and no custom rate limits are imposed), but anything could change at any time. Proper docs will be written once the API is stable.


Can I download the database?

Sure, it's sqlite3 and I just used JSON (there is literally only 2 columns, 1 time 1 data). Download it here, I may make a reference parser in the future but it's super easy to just figure out yourself anyway.


Is this open source?

I may submit this for my A-Level project, so no for now, but it will be in the future. However, it's not like the dashboard source is minified or anything, so that's at the very least source-available (just open DevTools).


Sources

The data used in this dashboard is sourced from:


Copyright notices: