Woot! I am happy to report that Php-d3-lib v1.1 has been rolled out.
- a brand new simple line graph option with tool tips
- all existing graphs and charts updated to D3.js v4
- all graphs and charts updated with the “autosize” option so graphs will size to their container on load and screen resize
- General code improvements
- Cleaned up examples
The code is up on Github in the master branch if you would like to contribute to it or use it.
- See Simple Pie Chart (live) or view the code on github here.
- See Simple Bar Graph (live) or view the code on github here.
- See Dual Scale Bar Graph (live) or view the code on github here.
- See Simple Line Graph (live) or view the code on github here.
Development continues with v1.2
Development is ongoing and the items below are what I am planning for the next release, v1.2:
- Add a sunburst chart generator
- Add a class for handling color processing for all charts and graphs
- Add a class for handling tooltips for all charts and graphs
- Additional code cleanup both the js and PHP
If you have a feature, graph or chart you would like to see included in an upcoming release, please feel free to contact me about it or just submit a PR with it. This is an open project and your contributions are always welcome. 🙂
As always, please feel free to leave a comment below and enjoy the updated library.