Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fast Food Nutrition

Public visualization

Viewing a saved revision (read-only)

1d2f848df8e7432ebb4dff5c136c7a8f

Fast Food Nutrition

0 stars0🌍 Public
Ppbruss@bu.edu
Last edited Sep 18, 2024
Created on Aug 31, 2024

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