Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

McDonald's Nutrition

Public visualization

McDonald's Nutrition

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

A scatterplot matrix displays nutritional data for McDonald’s menu items from a CSV file, using JavaScript’s `import` statement to load the data and coercing string values to numbers. The example shows the first item’s values in a JSON format, with the main function writing directly to a container using a template literal and a `pre` element with a fixed font size. The code defines a list of quantitative attributes and logs the keys to the console, but does not render any visual chart.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed