Added color-coded legend for multi-variable graphing