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.
266048321007835271327048831241843957100486729365852326448966
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