π Public
Viewing a saved revision (read-only)
b033e92d6e14426c8eb754e9e230992f
Food Color Categories
This interactive scatter plot, built with React and D3, visualizes the nutritional profiles of foods from the USDA FoundationFoods dataset. Users can select nutrients for the x- and y-axes, toggle between logarithmic and linear scales, and optionally map point size to a chosen nutrient. The visualization uses D3's `scaleLog` and `scaleLinear` for axes, and color-codes points by food category. Optionally, it can fetch food images from Wikipedia via a web API and use them as point patterns within the SVG.
AI-generated description