Graphs pure PHP
Draw graphs in PHP without external dependenciesGo to Exdomo Home
Go to the menu-list
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.
6119671019253274123922580671029577620487359213103939908758
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: 61 1: 19 2: 67 3: 10 4: 19 5: 25 6: 32 7: 74 8: 12 9: 39 10: 22 11: 58 12: 0 13: 67 14: 10 15: 29 16: 57 17: 76 18: 20 19: 48 20: 7 21: 35 22: 92 23: 13 24: 10 25: 39 26: 39 27: 90 28: 87 29: 58