I'm trying to create a usefull graph based on a 2dimensional matrix.
Users will click on the intersections of the matrix, fill out some information and hit submit. When this happens I log a timestamp of the event.
I want the admin to be able to graphically intepret this info so what I'd like to do is assign a CSS background colour to each square of the matrix based on when it was clicked. Eg pale blue for the items clicked first and a darker blue.for the items clicked more reciently.
I've been racking my brains but for the life of me I can't figure out a way to do it. The problem is that the clicks could happen in any order at any time.
Could anyone point me in the right direction?
Above is what Im trying to acheave, the numbers symbolize timestamps (1 being the earliest timestamp and 14 being the most recent)