JSFiddle - React, Tailwind, and code Playground

HTML

<p id="temp"></p>

<script>
    function loadTemp() {
    alert('atualização');
    var xhttp = new XMLHttpRequest();
    xhttp.onreadystatechange = function() {
    if (xhttp.readyState == 4 && xhttp.status == 200) {
    document.getElementById("temp").innerHTML = xhttp.responseText;
    }
    };
    xhttp.open("GET", "https://thingspeak.com/channels/116346/field/1/last.html", true);
    xhttp.send();
    }
    loadTemp();
    setInterval(loadTemp, 5000); // aqui o tempo é em milisecondos, pus 5 secs só a titulo de exemplo... para 5 minutos seriam 1000 * 60 * 5 = 300000
</script>