Sankey Diagram

This example shows how to use Sankey Diagram

The above example shows you how to create Sankey using built-in Google Charts.


require_once "../../../load.koolreport.php";
require_once "MyReport.php";

$report = new MyReport;
require_once "../../../load.koolreport.php";
class MyReport extends \koolreport\KoolReport

    use \koolreport\widgets\google\Sankey;
<div class="report-content">
    <div class="text-center">
        <h1>Sankey Diagram</h1>
        <p class="lead">
            This example shows how to use Sankey Diagram

    <div style="margin-bottom:50px;">
            [ 'A', 'X', 5 ],
            [ 'A', 'Y', 7 ],
            [ 'A', 'Z', 6 ],
            [ 'B', 'X', 2 ],
            [ 'B', 'Y', 9 ],
            [ 'B', 'Z', 4 ]

What People Are Saying

"KoolReport helps me very much in creating data report for my corporate! Keep up your good work!"
-- Alain Melsens

"The first use of your product. I was impressed by its easiness and powerfulness. This product is a great and amazing."
-- Dr. Lew Choy Onn

"Fantastic framework for reporting!"
-- Greg Schneider

Download KoolReport Get KoolReport Pro