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:0088415783083451695012632991
02:00–04:00122410891118689322514539
04:00–06:001222645644351713462318
06:00–08:0049860394220410415861337
08:00–10:002735170522161989280824943344
10:00–12:003791292626912095334838222601
12:00–14:00636318717092469323915291508
14:00–16:001571115617663038115329342512
16:00–18:001351221530191810306322374305
18:00–20:004042440034204484434844604256
20:00–22:004117462147044957535053504621
22:00–24:003264230336981549284414601825

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:002069326192262324972574742
02:00–04:00635284658331188874619
04:00–06:00897110510211151017268541
06:00–08:0016945410077824355321667
08:00–10:003792254722052508299731892248
10:00–12:002613332130531973291730382846
12:00–14:0013845756782174261318481465
14:00–16:001936300817021863285417801736
16:00–18:003492262119133224346116472169
18:00–20:004028364841813116494041494216
20:00–22:003790445347894297655246955040
22:00–24:002055281922512052380526101465

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