Hello, I was wondering if there was a way to render an array of colors. Say I have the following array and I want it to be rendered as a 3x3 square with the corresponding colors.
color_array =
[["#ffffff","#ff0000", "#ff0000"],
["#ffffff","#ff0000", "#ff0000"],
["#ffffff","#ff0000", "#ff0000"]]
My end goal is to show this metro map and update it with the real-time location of trains. I don’t know what would be the best way to make the map and my mind goes to updating arrays with the train location. I’m open to alternatives.