🌍 Public
Viewing a saved revision (read-only)
2a5adedaa01a4b719efb45b3d65d3502
Covid Cases and Deaths WorldWide
This example displays the first row of a COVID-19 dataset as a JSON object, showing total cases, deaths, recoveries, active cases, tests, and population for a single country. It imports the data from a CSV file and parses the numeric fields by removing commas. The code uses the native `JSON.stringify` method to format the data and displays it within an HTML `<pre>` element, with the font size controlled by a JavaScript variable. The dataset originates from a Kaggle source on worldwide COVID-19 cases and deaths.
AI-generated description