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:0080831261849420151220322060
02:00–04:00121519081101658448566930
04:00–06:00949891635289339387656
06:00–08:00529109151899883356883
08:00–10:002501440625272732233524641996
10:00–12:003031240643843288273936472833
12:00–14:0012957891068842180221481102
14:00–16:001846137421991461203129392443
16:00–18:00449318711122185341332691988
18:00–20:003116387743324181513756323725
20:00–22:004789453644365040546061164575
22:00–24:002896283417451348345824551516

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:0021915162433210148334611700
02:00–04:0069170576759985496154
04:00–06:00161861580320988515891006
06:00–08:00370105419298976010091444
08:00–10:003293220130352789252135003507
10:00–12:002137383731733007322242713932
12:00–14:002157730132330509962176797
14:00–16:00127015082423158934661370780
16:00–18:002106215828503151170817602711
18:00–20:003927370541054502563148423876
20:00–22:005041407346963360502363334788
22:00–24:002180200733261942229918811093

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