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:00280789996310131419991954
02:00–04:0056815188510644851512231
04:00–06:00492833376291201127893
06:00–08:001203131714415131322542952
08:00–10:002182222127933969261223015159
10:00–12:002949220530792989396035434381
12:00–14:00239413101109191334223775793
14:00–16:003666374833942494227519731395
16:00–18:001992310718881373208412861521
18:00–20:004029400940993040396447434105
20:00–22:004537504045364368600651325040
22:00–24:002354246419633262291620831387

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:00215811412415103211138102721
02:00–04:007175321730420329668260
04:00–06:001220468680377196950529
06:00–08:005539036394271036555171
08:00–10:003448197524782205239227613020
10:00–12:002429382627412600414133742347
12:00–14:003684275423693946188718421311
14:00–16:00113518722597839271513272400
16:00–18:00176385517393207203310491005
18:00–20:004981343434963632434741503040
20:00–22:003612504045374703469558964116
22:00–24:001062171630772377314623281232

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