Skip to main content
Public

Share visualization

Loading preview…

Food Images.

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

Food Images.

1
RRyan Offstein
Last edited Oct 20, 2025
Created on Oct 1, 2025
Forked from Simple Foods

This interactive scatterplot maps nutritional data for over a hundred common foods, plotting nutrients like protein and carbohydrates on logarithmic or linear scales. Users can choose which nutrients appear on the x-axis, y-axis, and determine point size, with a toggle to replace colored circles with Wikipedia thumbnail images fetched via the MediaWiki API. Built with React and D3 v7, it uses `scaleLog`, `scaleLinear`, `extent`, and `axisBottom`/`axisLeft` to render axes and points, with data sourced from the USDA Foundation Foods dataset.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed