1. Go to this page and download the library: Download pierresh/simca library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
use Pierresh\Simca\Charts\PieChart;
// The secondary value is an optional coefficient for polar pie chart
$chart = (new PieChart(400, 400))
->setSeries([[14, 0.5], [3, 0.9], [5, 0.8], [5, 1], [5, 0.9]])
->render();