Diet is a key modifiable risk factor for multiple chronic conditions, including type 2 diabetes (T2D). Consuming a range of foods from the five major food groups is advocated as critical to healthy eating, but the association of diversity across major food groups with T2D is not clear and the relationship of within-food-group diversity is unknown. In addition, there is a growing price gap between more and less healthy foods, which may limit the uptake of varied diets.