🌍 Public
Viewing a saved revision (read-only)
04968826417e4830b8b0fe697614e6ed
McDonald's Nutrition
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 descriptionThe Penguins Dataset, loaded and parsed as CSV.
Fork and modify this template to import your data to VizHub and export it for use in other vizzes! To do that:
- Fork this viz
- Clear out the README
- Update the README with details about your dataset (including original source)
- Replace
data.csvwith your own data - Replace the parsing logic in
index.jswith your own - Set the custom URL so you can import from it easily
Challenge
- Find 3 datasets on a topic you are interested in
- For each of those, fork this viz and replace the data
- Parse the quantitative attributes into numbers
- Update
README.mdto indicate the original data source