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:0031607811735225228011658153
02:00–04:00936485148336875170361
04:00–06:0010857855664201411688652
06:00–08:0038410076703504161279603
08:00–10:002225285721313001437838542601
10:00–12:003004391226873862307825742892
12:00–14:002108352433122425239015702781
14:00–16:001153162828663403134019533463
16:00–18:003353191322911989176631582143
18:00–20:003116410545403854514342463644
20:00–22:004727504047053839502343694564
22:00–24:002807178130401389184122402919

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:004763268175526579691020326
02:00–04:00669358668733632655279
04:00–06:0071897378451687686714
06:00–08:00340112794676710057921775
08:00–10:002074301618413252299126022430
10:00–12:002814272628892488337426452789
12:00–14:009753048143965320908981523
14:00–16:002868247511542808186711563116
16:00–18:002373353410092945145317832526
18:00–20:004266366540113625583045443231
20:00–22:003360487245364077480546955120
22:00–24:002862308924861965202527332308

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