Lets compare vitamin content per 100 grams of Carrots vs Onions:
Raw Carrots have more Vitamin A, 1.4 times more Vitamin B1, 2.1 times more Vitamin B2, 8.5 times more Vitamin B3, 2.2 times more Vitamin B5, 33 times more Vitamin E and 33 times more Vitamin K than Raw Onions.
While Raw Onions contain 1.3 times more Vitamin C than Raw Carrots.
Both Raw Carrots and Raw Onions have similar amounts of Vitamin B6 and Vitamin B9 per 100 g.
Both Raw Carrots as well as Raw Onions have insufficient amounts of Vitamin B12 and Vitamin D in 100 g.
Comparing minerals per 100 grams for Carrots vs Onions:
Raw Carrots have 1.4 times more Calcium, 1.4 times more Iron, 1.2 times more Phosphorus, 2.2 times more Potassium, 17.3 times more Sodium and 1.4 times more Zinc than Raw Onions.
Both Raw Carrots and Raw Onions have similar amounts of Copper, Magnesium, Manganese and Water per 100 g.
Both Raw Carrots as well as Raw Onions have insufficient amounts of Fluoride and Selenium in 100 g.
Comparison of macro-nutrients per 100 grams:
Raw Carrots have 1.6 times more Fiber than Raw Onions.
While Raw Onions contain 2.3 times more Fructose than Raw Carrots.
Both Raw Carrots and Raw Onions have similar amounts of Energy, Carbohydrate, Sugars and Protein per 100 g.
Both Raw Carrots as well as Raw Onions have insufficient amounts of Fat, Omega 3, Omega 6, Cholesterol, Glucose and Sucrose in 100 g.