Help with comparing numbers

Hi there,

I am comparing amount of vitamins etc needed based on body weight.
I type in the body weight; it converts to metabolic body weight and spits out data on the amount of nutrients I need based on that weight. So far, that works.

I want to add the possibility to type in the amount of vitamins that a certain food provides and have those numbers compared.
need 100mg of vitamin a - food provides 100mg = 100%
need 50mg of vitamin b12 - food provides 10 mg = 20%
need 10 mg of calcium - food provides 20 mg = 200%

Can I do that with a bar chart? And if so... how?


You will need to load a CSV file of food portions and nutrients supplied by those portions, along with a separate file of nutrients and their daily requirements.