Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Create a bar chart comparing the content of the nine essential amino acids in a list of foods
ResourceFunction["EssentialAminoAcidsChart"][foods] returns essential amino acid information in a BarChart for a list of foods. |
| ChartLabels | Before | food names |
| ChartLegends | Below | nutrient properties |
| BarOrigin | Left | origin placement for bars |
| FontSize | 10 | font size of chart labels and legends |
| PlotLabel | "" | optional overall label for chart |
| ImageSize | 600 | overall image size expressed in points |
| ImageMargins | Automatic | absolute margins around image |
| Background | Automatic | background color for chart |
Compare the essential amino acids in these fish, which also are good sources of omega-3 fatty acids:
| In[1]:= |
| Out[1]= | ![]() |
Visualize the essential amino acids with a customized chart design:
| In[2]:= | ![]() |
| Out[2]= | ![]() |
Use ChartElements and other BarChart options to draw attention to your chart:
| In[4]:= | ![]() |
| Out[4]= | ![]() |
Planning beans or lentils with rice for dinner? Pair different varieties to see the most nutritious combination of essential amino acids:
| In[5]:= | ![]() |
| Out[8]= | ![]() |
Write a custom ChartElementFunction for a unique and artistic visualization:
| In[9]:= | ![]() |
| Out[10]= | ![]() |
Wolfram Language 13.0 (December 2021) or above
This work is licensed under a Creative Commons Attribution 4.0 International License