kojiflowers / php-d3-lib

Library for implementing d3.js functionality via PHP class

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

php-d3-lib

A PHP Library for implementing d3.js functionality. Currently the focus is on d3.js charts.

Master Branch is latest stable release using v4 D3.js

The current development branch is releases/v1.3.

How it works This PHP library was created to make it easier for PHP devs to quickly spin up a chart with minimal effort and little to no interaction with the actual javascript.

Simply put, this library creates the d3.js javascript for you based on your PHP inputs into the D3 class.

Examples

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.

See Sunburst Chart (live) or view the code on github here.

See Advanced Sunburst Chart (live) or view the code on github here.

Additional Info

Feel free to fork this project and make some cool stuff with it. It is still early stage but I welcome help from the dev community both on the d3.js side and the PHP side.

For updates and/or other stuff to check out, visit my blog.

About

Library for implementing d3.js functionality via PHP class

License:GNU General Public License v3.0


Languages

Language:HTML 51.5%Language:PHP 48.5%