Skip to content

Commit

Permalink
added index.php to examples directory + updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kojiflowers committed Aug 1, 2018
1 parent 513954c commit 78985d6
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# php-d3-lib

A PHP Library for implementing d3.js functionality.
A PHP Library for implementing [d3.js](https://d3js.org/) functionality. Currently the focus is on d3.js charts.

**Master Branch is latest stable release.**
**The current development branch is releases/v1.2 This is still very early stage.**
**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.
Expand All @@ -20,6 +21,11 @@ See [Dual Scale Bar Graph](http://projects.kojiflowers.com/php-d3-lib/examples/d

See [Simple Line Graph](http://projects.kojiflowers.com/php-d3-lib/examples/simple_line_graph.php) (live) or view the code on github [here](https://github.com/kojiflowers/php-d3-lib/blob/master/examples/simple_line_graph.php).

See [Sunburst Chart](http://projects.kojiflowers.com/php-d3-lib/examples/sunburst_chart.php) (live) or view the code on github [here](https://github.com/kojiflowers/php-d3-lib/blob/master/examples/sunburst_chart.php).

See [Advanced Sunburst Chart](http://projects.kojiflowers.com/php-d3-lib/examples/advanced_sunburst_chart.php) (live) or view the code on github [here](https://github.com/kojiflowers/php-d3-lib/blob/master/examples/advanced_sunburst_chart.php).


**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.
Expand Down
12 changes: 12 additions & 0 deletions examples/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>php-d3-lib examples</title>
<script type="text/javascript" src="js/d3.v4.min.js"></script>

</head>
<body>
<?php include_once('menu.php'); ?>
</body>
</html>

0 comments on commit 78985d6

Please sign in to comment.