Note
This repository is now archived and may not work with more recent versions of Node. Please see the more recent dashboards within the OpenGHG organisation.
A simple React and Plotly.js based visualisation dashboard for the OpenGHG project.
To run the app locally please make sure you have node installed. Then you can clone this repo and run
$ npm install
This will install all of the dependencies required to run the app. You can then start the app using
$ npm start
You should then be able to access the app at http://localhost:3000.
If you'd like to make changes and/or add components to this project please make sure each component is tested. We make use of the React Testing Library to test the application as a user would interact with it. Please refer to their documentation for instructions on how to get started.
You can run the tests using
$ npm run test
Code quality is checked using ESLint, this can be run using
$ npm run lint
The dashboard is intended to be a modular template that can be customised for different projects. It is currently serving data from Glasgow and the surrounding area for COP26 but was designed to be used in conjunction with OpenGHG. This makes it easy for researchers to create their own data dashboard.
The data for the dashboard is updated multiple times a day and comes from a network of sensors run by a large community of researchers. See 'Observations' on the dashboard homepage. This data is pulled down from our data repository which is updated automatically when raw sensor data is pushed to our serverless functions.