Skip to content
Library for implementing d3.js functionality via PHP class
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
PhpD3
d3 Replace npmcdn.com with unpkg.com Sep 11, 2016
examples added index.php to examples directory + updated README.md Aug 1, 2018
reference v1.2: added SunBurst chart class, loader, example page, example data,… Mar 4, 2018
.gitignore init commit - general file setup - ideas for chart types Jun 30, 2016
LICENSE Initial commit Jun 30, 2016
README.md added index.php to examples directory + updated README.md Aug 1, 2018

README.md

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.

You can’t perform that action at this time.