Hello
I would like to display an air quality index.
I am using the Weather by Open Meteo app which provides over 15 air quality measures.
I want to use these measures to calculate an weighted average, which, when added up together will provide me a total score out of 100 (let’s say).
Then I would like to display
- total score out of 100
- a text saying from bad to excellent based on predefined buckets (for instance from 0-10% bad, … from 90-100% excellent)
Any idea how this could be achieved?
Thanks