Wolfram Language

Compare Nutrition Content of Different Foods

Consuming appropriate amounts of essential vitamins, minerals and macronutrients is key to a healthy diet. Anemia, the condition of having a low red blood cell count, is often caused by a lack of iron in the diet. Consuming foods high in iron, along with foods high in vitamin C, which aids the body in absorbing the iron, helps spur the production of red blood cells.

With detailed nutrition information for nearly 150,000 foods, the Wolfram Language can be used to query for and visualize the nutrition content of foods high in these nutrients.

Find images for foods high in Vitamin C.

Visualize the results as a weighted image collage.

Extract the dominant colors for each of the images.

Choose an ideal color for a subset of these foods.

Compare the vitamin C content of these foods in a bar chart using these colors, including images of the foods as tooltips.

show complete Wolfram Language input

Repeat for a different set of foods that are high in iron.

Related Examples

ja