GraphUp Demo 1 · Fill

The demo tables below could represent the average visitor count to your website split up per day and hour. In the first table, the greenPower color map is used. Also, using the callBeforePaint callback we assign a special CSS class for all cells above 50%.

Monday Tuesday Wednesday Thursday Friday Saturday Sunday
00:00–02:00176387222422415149531441552
02:00–04:0060759715121293811407995
04:00–06:002235571207076921640596
06:00–08:0070610046523241961131695
08:00–10:002810287824582442277229653857
10:00–12:003596283720322793426733463635
12:00–14:00153524205201712335719621561
14:00–16:00402930221995928276023583706
16:00–18:001628205113291435228417512077
18:00–20:003572433244854381442947424640
20:00–22:004956376936544103622554614453
22:00–24:002955238426673742395224171899

Obviously, in the next table another color map has been used: burn. There is more going on, though. Via the callBeforePaint callback we customize the opacity of each cell's text, according to its percentage. This creates a nice extra visual effect.

Monday Tuesday Wednesday Thursday Friday Saturday Sunday
00:00–02:00148634862946254330942250905
02:00–04:002747781249451146885915
04:00–06:001381272711295613455568
06:00–08:001581411357253712608653
08:00–10:001779295127041892237034922208
10:00–12:002972345325123351350836322650
12:00–14:0036769671854792156926852854
14:00–16:00247479738081636130524413726
16:00–18:002565187426981362284928803690
18:00–20:004628338735664257484242494559
20:00–22:003959495646334369535052424704
22:00–24:001618204617322079449916002545

Have a look at the source of this page to learn and see exactly how it all works.