Skip to main content
Public

Share visualization

Loading preview…

Week 9 Food Interaction

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

Week 9 Food Interaction

1
RRyan Offstein
Last edited Oct 30, 2025
Created on Oct 30, 2025

This interactive scatterplot visualizes nutrient compositions of foods from the USDA Foundation Foods dataset. Users can select which nutrients appear on the x- and y-axes, toggle between linear and logarithmic scales, and optionally map a third nutrient to point radius. The visualization uses D3 v7 scales and axes within a React application, with support for fetching Wikipedia thumbnail images to display as point fills. Animated transitions update the plot when selections change, and a tooltip provides detailed food descriptions and category information.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed