Skip to main content
Public

Share visualization

Loading preview…

McDonald's Nutrition

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

McDonald's Nutrition

0
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