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:00168194115411467252141891557
02:00–04:0017021401444840184526370
04:00–06:0011604101303371044290935
06:00–08:0088356611735406631449991
08:00–10:003630268028702128370321231790
10:00–12:004270381326124567333539973297
12:00–14:006398179342359276713952205
14:00–16:003299215010073099160813771711
16:00–18:001413318211012687400025973566
18:00–20:003952353348263946395254343345
20:00–22:004033361245374284524252414117
22:00–24:001541300130082271184019492522

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:00133619751710147625751732224
02:00–04:00189222280610821111618945
04:00–06:008921244112717261201605970
06:00–08:005452882923487563011832
08:00–10:003183321221642474206621351582
10:00–12:002496183435753237281841234241
12:00–14:002791368412601635227528261654
14:00–16:00257672330742087181411753061
16:00–18:002292140024861768207927331609
18:00–20:004897418137253953543439534543
20:00–22:004284504045374537436863333978
22:00–24:002515222812592593183116821872

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