For anybody else, I got this working using int and not strings. If there is an easier or better way, let me know.
Set the variable to an int value depending on the string and then:
@(Html.EJ().TreeMap("container")
.DataSource(ViewData["Data"])
.ColorValuePath("Status")
.WeightValuePath("Weight")
.LeafItemsSetting(lls =>
{
lls.ShowLabels(true)
.ItemTemplate("imageTemplate")
.LabelPath("Description");
})
.TreeMapRangeColorMappings(cm =>
{
cm.From(0).To(0).Color("Grey").Add();
cm.From(1).To(1).Color("Green").Add();
cm.From(2).To(2).Color("Red").Add();
})
)
the bold portion is what I was looking for.
Regards,
Neill