🌍 Public
Viewing a saved revision (read-only)
1d2f848df8e7432ebb4dff5c136c7a8f
Fast Food Nutrition
This example displays the first row of a fast food nutrition dataset in raw JSON format, revealing attributes like calories, fat, sodium, and protein for items from McDonald’s and other chains. The code uses the `data.csv` import to load the dataset, then logs the keys and converts all quantitative attributes to numbers via a loop. The main function renders the parsed data as a formatted `<pre>` element, offering a static preview of the dataset’s structure.
AI-generated description