diff --git a/app/helpers/graph.php b/app/helpers/graph.php
new file mode 100644
index 0000000..c5e722b
--- /dev/null
+++ b/app/helpers/graph.php
@@ -0,0 +1,100 @@
+
+
+
diff --git a/app/pages/graphs.php b/app/pages/graphs.php
index a459e6f..7e7f893 100644
--- a/app/pages/graphs.php
+++ b/app/pages/graphs.php
@@ -1,20 +1,43 @@
'2023-01-01', 'value' => 10],
['date' => '2023-01-02', 'value' => 20],
['date' => '2023-01-03', 'value' => 15],
['date' => '2023-01-04', 'value' => 25],
];
-$data2 = [
+$data1 = [
['date' => '2023-01-01', 'value' => 12],
['date' => '2023-01-02', 'value' => 23],
['date' => '2023-01-03', 'value' => 11],
['date' => '2023-01-04', 'value' => 27],
];
-include '../app/templates/graphs-conferences.php';
+$graph_name = 'conferences';
+$graph_data0_label = 'Conferences from Jitsi logs (Jilo)';
+$graph_data1_label = 'Conferences from Jitsi API (Jilo Agents)';
+include '../app/helpers/graph.php';
+
+// FIXME example data
+$data0 = [
+ ['date' => '2023-01-01', 'value' => 20],
+ ['date' => '2023-01-02', 'value' => 30],
+ ['date' => '2023-01-03', 'value' => 15],
+ ['date' => '2023-01-04', 'value' => 55],
+];
+
+$data1 = [
+ ['date' => '2023-01-01', 'value' => 22],
+ ['date' => '2023-01-02', 'value' => 33],
+ ['date' => '2023-01-03', 'value' => 11],
+ ['date' => '2023-01-04', 'value' => 57],
+];
+
+$graph_name = 'participants';
+$graph_data0_label = 'Participants from Jitsi logs (Jilo)';
+$graph_data1_label = 'Participants from Jitsi API (Jilo Agents)';
+include '../app/helpers/graph.php';
?>
diff --git a/app/templates/graphs-conferences.php b/app/templates/graphs-conferences.php
deleted file mode 100644
index 5dd8861..0000000
--- a/app/templates/graphs-conferences.php
+++ /dev/null
@@ -1,204 +0,0 @@
-
-
-
-
-
-