Graphs pure PHP

Draw graphs in PHP without external dependencies

Go to Exdomo Home

Go to the menu-list

30-day graph information:

This graph is an example of a diagram that means to show the number of visitors to your website (the values are randomly generated).

The layout is a css-grid with 30 columns, the css is generated by including a php-file containing css-code and php-script to generate the classnames and the height of the bars.

If you are interested in the code (for free ofcourse) then you can send me a Whatsapp-message (see contactpage) or click the comment-button on my blog.

Not an advertisement, but looks like it

(Not an advertisement) 
Exdomos

Visitors last 30 days:

26
60
48
32
100
7
83
52
71
32
70
48
83
12
41
84
39
57
100
48
67
29
36
58
52
32
64
48
96
6

In text:

As you can see, the graph changes with every page-refresh. That's because the values are generated randomly each time.

Below the list of values in text-format:

 0:    26   
 1:    60   
 2:    48   
 3:    32   
 4:    100   
 5:    7   
 6:    83   
 7:    52   
 8:    71   
 9:    32   
 10:    70   
 11:    48   
 12:    83   
 13:    12   
 14:    41   
 15:    84   
 16:    39   
 17:    57   
 18:    100   
 19:    48   
 20:    67   
 21:    29   
 22:    36   
 23:    58   
 24:    52   
 25:    32   
 26:    64   
 27:    48   
 28:    96   
 29:    6   
 

Social (and other) things: