Skip to main content
100%

Food Nutrience

✓ Published0🌍 Public
RRyan Offstein
Last edited Aug 31, 2025
Created on Aug 31, 2025
Forked from Loading Data

This interactive visualization explores the nutritional composition of a curated selection of foods from the USDA FoodData Central dataset. It reads a local `data.json` file containing food items with their associated nutrient values (such as vitamins, fatty acids, and minerals) and uses d3’s `select` and `join` operations to render the raw data as a formatted JSON structure in a `<pre>` element. The visualization serves as a debugging and exploration tool, displaying the exact food and nutrient records loaded from the source, highlighting the distribution of analytical data points, medians, and amounts for each nutrient. The interface is minimal, with a simple body layout and a state-managed loading process that fetches and displays the data upon initialization.

AI-generated description

This is my dataset on Food Nutrience

Data

  • Here is a link to the data

  • I had to purge many of the foods to fit the size requirements

  • This contains a food and then a list of its nutrients, The name, and how much, in statistucs, like median, max, min

Attributes

  • There are way to many attributes

  • Type of food
    • Categorical
  • Type of Nutrient
    • Categorical
  • Number/Id
    • Numerical
  • ammounnt
    • Quantitative
MIT Licensed

Similar vizzes