https://github.com/alifeee/co2-stacked
A visualisation of CO2 levels as a vertically stacked graph, with days going upwards. Using @tomhazledine's <stacked-sparklines> web component.
https://github.com/alifeee/co2-stacked
co2-monitoring data-visualization web-component
Last synced: 3 months ago
JSON representation
A visualisation of CO2 levels as a vertically stacked graph, with days going upwards. Using @tomhazledine's <stacked-sparklines> web component.
- Host: GitHub
- URL: https://github.com/alifeee/co2-stacked
- Owner: alifeee
- Created: 2024-04-19T17:23:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-23T16:26:44.000Z (about 1 year ago)
- Last Synced: 2025-03-28T16:49:56.141Z (4 months ago)
- Topics: co2-monitoring, data-visualization, web-component
- Language: HTML
- Homepage:
- Size: 288 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CO2 Stacked
A visualisation of CO2 levels as a vertically stacked graph, with days going upwards. Using @tomhazledine's [``](https://github.com/tomhazledine/stacked-sparklines) web component.

The original data looked something like this:

## How to create
Export CO2 data as CSV from InfluxDB via the data explorer. It should be several days of data, and the window range can be whatever, but probably change it from auto.

Put this file in this repository, named `query.csv`. Then, run the python script to generate the visualisation.
```bash
python ./csv_to_list-of-lists.py
```## Note
This was made brashly in a few minutes. Do not expect it to work perfectly ;)