(concHi - concLo)) * (aqiHi - aqiLo) + aqiLo
          );
        const values = table.find(
          ([concLo, concHi, aqiLo, aqiHi]) => pm <= concHi
        );
        return values ? computeAqi(pm, values) : 500;
      }
    </script>
  </body>
</html>
