FunnelChart

This example shows how to draw beautiful FunnelChart

Funnel charts are a type of chart, often used to represent stages in a sales process and show the amount of potential revenue for each stage. This type of chart can also be useful in identifying potential problem areas in an organization’s sales processes. A funnel chart is similar to a stacked percent bar chart.

<?php

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

$report = new MyReport;
$report->run()->render();
<?php

class MyReport extends \koolreport\KoolReport
{

}
<?php
    use \koolreport\d3\FunnelChart;
?>
<div class="report-content" title="">
    <div class="text-center">
        <h1>FunnelChart</h1>
        <p class="lead">
            This example shows how to draw beautiful FunnelChart
        </p>
    </div>

    <div style="margin-bottom:50px;" class="text-center">
    <?php
        FunnelChart::create([
            "dataSource"=>array(
                array("category"=>"Visit","amount"=>5000),
                array("category"=>"Download","amount"=>4000),
                array("category"=>"Initial Checkout","amount"=>2000),
                array("category"=>"Purchase","amount"=>1000),
            ),
            "width"=>480,
            "columns"=>[
                "category",
                "amount"
            ]
        ])
        ?>

    </div>

</div>

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