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:0019659417702077192225572519
02:00–04:0041454110985281929930807
04:00–06:003311014314131251690670
06:00–08:00295674157549609281593
08:00–10:002233194430433071435730452771
10:00–12:002959239426132944305825223258
12:00–14:00218824252643188120471387776
14:00–16:00185887110021383349616702676
16:00–18:003043255823703538141316072725
18:00–20:004065450145163655563147433496
20:00–22:004057394943693721644261164956
22:00–24:001868161021901283270014541460

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:006921858246396530318652053
02:00–04:0014184146121428204686474
04:00–06:00621440398931438252742
06:00–08:00122812652053667610739209
08:00–10:002285276834613433379137713608
10:00–12:002547243421182460310731923755
12:00–14:001939363731562162222016891602
14:00–16:001906134821723409233327493632
16:00–18:002417245411583099124825481453
18:00–20:004560342041943724523749404332
20:00–22:003762487336134201458655704704
22:00–24:003796250921711838405529673093

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