Simple example of usage Spark element.

use function Thermage\spark;
use function Thermage\render;

// ...

$data = [0,30,55,80,33,150];

render(
  spark()->colorWhite()->data($data)
);
Terminal
$ php thermage.php
▁▂▃▅▂▇