How can I use JSON file in html?

The link is this: https://covid.ourworldindata.org/data/owid-covid-data.json
I want to use the data, for example, to calculate the sum of total number of cases.
The sum of the cases is then place in the html document.
However in the file it shows a lot of case with different dates. I just want the most updated case(the last case).
How can I do that?

54 thoughts on “How can I use JSON file in html?”

Leave a Comment