Skip to main content
100%

Nutrient Database Explorer

✓ Published0🌍 Public
CCurran Kelleher
Last edited Feb 3, 2023
Created on Oct 30, 2025

This interactive tool explores USDA nutrient data across 14 dimensions using parallel coordinates, with foods colored by group. Users can brush axes to filter, drag labels to reorder dimensions, and click to invert axes. It renders polylines onto multiple layered Canvas elements while SVG handles axis labels and ticks, using D3’s scales and drag behavior for interaction.

AI-generated description

Improvements:

  • Scale to window size and resizes
  • Click label to invert axis
  • Drag label to reorder axes
  • Rendering progress bar
  • Keep selected button removes unselected data
  • Exclude selected button removes selected data
  • Alphabetized random sample
  • Brushed axes only show tick numbers within extent
  • Rendering speed optimization targets 30 fps
  • Dynamic legend with group counts
  • Filtering by group
  • Hovering over food highlights polyline
  • Destination-over rendering feels less "spidery"
  • Export CSV
  • Detect numerical columns from first row
  • Delete column by dragging left
  • Text Search

Bugfixes:

  • Inverting doesn't destroy brushes, instead moves them
  • Keeping preserves inverted axes

Similar vizzes