Heatmap and Text in Bottom Margin

Hello Everyone,

I am working on a heatmap to show my Arista Router Port Status. The arista has several status’ I have setup the different color codes for it now I need to label them or put text beside the colors for what the actual status are for instance red - down, green - up, white is partial (10g of 20g is functioning), blue for notPresent and such, please see attached screenshot. As you can see there is Red Square, White Square, and so on.