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:0035681679380870239562003235
02:00–04:0066612091976397484471539
04:00–06:0056230595218531492177
06:00–08:00530648423376945502318
08:00–10:002669273319482190271734532153
10:00–12:003447265523503508347340003753
12:00–14:001848170619934302209012353843
14:00–16:003232222614051599186134831481
16:00–18:003639232112882773319320274337
18:00–20:004603342040814789464439524181
20:00–22:004956352947044537464662244788
22:00–24:003792311924694439253013311533

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:0018351177298729169922138594
02:00–04:00142128950017557931305565
04:00–06:00467189897343814306211
06:00–08:002612137601290330516584
08:00–10:002694309322151992249627111555
10:00–12:004146326224433528395736432788
12:00–14:001476350013873148273122392082
14:00–16:001112174928741392273134841516
16:00–18:001579241734141447190115511165
18:00–20:004342395239683953494152374561
20:00–22:003935361236974145578846963528
22:00–24:003663239626952900290624572116

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