Gantt chart with units in minutes

The code below is the source for this graph.

// Gantt chart with units in minutes
require_once 'SVGGraph/autoloader.php';

$options = [
  'auto_fit' => true,
  'structure' => [
    'key' => 0, 'value' => 1, 'end' => 2,
  'gantt_today' => false,
  'gantt_units' => 'minute',
  'tooltip_datetime_format' => 'd M H:i',

$values = [
  ['A simple task', '2022-05-02T08:00:00', '2022-05-04T16:30:00'],
  ['Second task', '2022-05-03T12:30:00', '2022-05-03T17:00:00'],

  ['Third task', '2022-05-02T09:00:00', '2022-05-02T12:00:00'],
  ['Final task', '2022-05-04T11:00:00', '2022-05-04T13:20:00'],

$graph = new Goat1000\SVGGraph\SVGGraph(670, 'auto', $options);
$graph->colourRangeHexHSL(0, '#c50', '#c59');
$graph->colourRangeHexHSL(1, '#6a0', '#6a9');

Please note: the source code above comes from a script used to generate one of the example graphs on the site. This is simply a wrapper page to apply highlighting and make the source code easier to read, so there is no content here to describe what the source code is doing.