2018-12-02 18:01:54 +00:00
|
|
|
---
|
|
|
|
layout: default
|
2018-12-02 18:22:28 +00:00
|
|
|
permalink: /channelsstats/
|
2018-12-02 18:24:34 +00:00
|
|
|
title: Statistiques du Chat
|
|
|
|
linktitle: "Statistiques du Chat"
|
2018-12-02 18:01:54 +00:00
|
|
|
linkurl: /channelsstats/
|
2018-12-02 18:14:20 +00:00
|
|
|
description: "Statistiques sur le chat https://coa.crapaud-fou.org"
|
2018-12-02 18:01:54 +00:00
|
|
|
---
|
|
|
|
|
2018-11-14 17:50:45 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.4.0/Chart.min.js"></script>
|
2018-12-02 18:01:54 +00:00
|
|
|
|
2018-12-02 18:34:17 +00:00
|
|
|
<p>Statistiques du <a href="https://coa.crapaud-fou.org">chat</a> (aussi connu sous le nom de mare aux crapauds) :</p>
|
2018-11-14 20:55:47 +00:00
|
|
|
<canvas id="byChannel"></canvas>
|
|
|
|
<canvas id="byTsunamy"></canvas>
|
2018-11-15 20:56:19 +00:00
|
|
|
<canvas id="usersByTsunamy"></canvas>
|
2018-11-14 17:50:45 +00:00
|
|
|
<script>
|
2018-12-19 21:11:36 +00:00
|
|
|
updated = "updated 19/12/2018"
|
2018-12-02 18:01:54 +00:00
|
|
|
labels = ["décembre 2017","janvier 2018","février 2018","mars 2018","avril 2018","mai 2018","juin 2018","juillet 2018","août 2018","septembre 2018","octobre 2018","novembre 2018",];
|
2018-12-19 21:11:36 +00:00
|
|
|
messagesByChannel = [{label: "accueil",backgroundColor: 'rgb(232,166,128)',data: [0,0,0,0,0,0,0,0,0,0,192,831,]},{label: "agenda",backgroundColor: 'rgb(106,148,87)',data: [0,0,0,0,0,0,0,0,0,141,29,8,]},{label: "animation-crapauds",backgroundColor: 'rgb(62,231,172)',data: [822,248,77,55,8,21,28,5,4,0,0,0,]},{label: "auberge-des-crapauds",backgroundColor: 'rgb(118,218,202)',data: [0,0,0,0,0,0,0,0,0,0,0,0,]},{label: "burn-out",backgroundColor: 'rgb(185,237,123)',data: [0,0,0,0,0,0,113,121,23,543,2,2,]},{label: "cadeaux-ibf",backgroundColor: 'rgb(179,42,136)',data: [0,0,0,0,0,0,0,0,0,0,0,58,]},{label: "cause-animale",backgroundColor: 'rgb(183,252,28)',data: [0,0,0,0,0,0,0,0,0,186,61,2,]},{label: "cercle-autonomie-energetique",backgroundColor: 'rgb(213,55,18)',data: [0,0,0,0,0,0,95,83,552,182,59,30,]},{label: "cercle-blockchain-crypto",backgroundColor: 'rgb(246,210,105)',data: [0,0,0,0,0,0,106,45,4,8,8,17,]},{label: "cercle-collaboratif",backgroundColor: 'rgb(239,152,70)',data: [17,2,3,2,5,29,60,22,5,25,43,260,]},{label: "cercle-des-arts",backgroundColor: 'rgb(200,199,93)',data: [0,0,0,0,0,0,294,62,23,15,77,17,]},{label: "cercle-diversité-culturelle",backgroundColor: 'rgb(233,223,114)',data: [6,9,33,1,0,19,14,53,14,4,9,2,]},{label: "cercle-démocratie",backgroundColor: 'rgb(39,81,112)',data: [82,22,2,8,0,1118,400,161,300,19,214,176,]},{label: "cercle-education",backgroundColor: 'rgb(157,48,97)',data: [166,6,71,13,1,251,773,959,935,429,124,250,]},{label: "cercle-electronique",backgroundColor: 'rgb(20,133,125)',data: [0,0,0,0,0,0,1300,62,6,1,1,3,]},{label: "cercle-enthousiasme",backgroundColor: 'rgb(73,128,129)',data: [12,7,8,3,10,21,9,9,3,6,35,2,]},{label: "cercle-europe",backgroundColor: 'rgb(245,243,107)',data: [30,2,1,1,0,30,10,22,7,1,5,47,]},{label: "cercle-game-changers",backgroundColor: 'rgb(212,195,150)',data: [22,7,3,4,0,12,12,2,3,1,7,1,]},{label: "cercle-generation-2050",backgroundColor: 'rgb(217,19,110)',data: [4,2,3,3,0,17,14,6,67,9,25,1,]},{label: "cercle-genie-digital",backgroundColor: 'rgb(110,114,193)',data: [65,15,8,6,5,13,11,10,7,1,2,4,]},{label: "cercle-intergenerationnel",backgroundColor: 'rgb(236,77,78)',data: [0,0,0,0,0,0,0,0,0,172,2,23,]},{label: "cercle-neurodiversité",backgroundColor: 'rgb(102,172,18)',data: [6,1,7,9,1,168,637,1027,194,567,728,585,]},{label: "cercle-permaculture",backgroundColor: 'rgb(109,206,14)',data: [0,0,0,0,0,257,92,28,348,110,183,33,]},{label: "cercle-sante",backgroundColor: 'rgb(8,140,216)',data: [5,0,1,0,0,1,204,83,36,60,425,120,]},{label: "changer-de-paradigme",backgroundColor: 'rgb(24,25,203)',data: [0,0,0,0,0,0,0,0,539,604,411,162,]},{label: "chanvre",backgroundColor: 'rgb(186,192,177)',data: [0,0,0,0,0,0,0,0,0,0,0,0,]},{label: "christin",backgroundColor: 'rgb(147,173,81)',data: [0,0,0,0,0,0,0,0,0,3,0,6,]},{label: "cnv",backgroundColor: 'rgb(231,249,163)',data: [0,0,0,0,0,0,0,0,0,0,31,2,]},{label: "cohorte-2607",backgroundColor: 'rgb(217,243,4)',data: [96,30,22,8,1,8,9,3,1,7,4,0,]},{label: "cohorte-34",backgroundColor: 'rgb(197,16,203)',data: [0,0,0,0,0,18,12,6,0,5,0,2,]},{label: "cohorte-5962",backgroundColor: 'rgb(4,183,221)',data: [7,0,0,0,1,6,14,2,1,1,11,4,]},{label: "cohorte-belgique",backgroundColor: 'rgb(173,175,226)',data: [0,0,0,0,0,1,284,1,2,0,7,7,]},{label: "cohorte-bourgogne",backgroundColor: 'rgb(19,173,215)',data: [0,0,0,0,0,8,7,9,15,0,2,1,]},{label: "cohorte-bretagne",backgroundColor: 'rgb(107,218,177)',data: [0,0,0,0,0,0,0,12,20,21,83,3,]},{label: "cohorte-centre",backgroundColor: 'rgb(114,236,103)',data: [0,0,0,0,0,0,0,0,0,0,12,10,]},{label: "cohorte-geek",backgroundColor: 'rgb(146,188,170)',data: [0,0,0,0,0,947,268,221,28,30,180,238,]},{label: "cohorte-grand-est",backgroundColor: 'rgb(202,31,81)',data: [0,0,0,0,0,0,11,4,2,1,9,0,]},{label: "cohorte-grenoble",backgroundColor: 'rgb(188,218,196)',data: [0,0,0,0,0,17,27,12,11,14,7,0,]},{label: "cohorte-la-reunion",backgroundColor: 'rgb(112,5,83)',data: [0,0,0,0,0,0,0,0,0,0,0,0,]},{label: "cohorte-lille",backgroundColor: 'rgb(169,139,184)',data: [0,0,0,0,0,102,24,4,11,40,17,9,]},{label: "cohorte-normandie",back
|
|
|
|
messagesByTsunami = [{label: "Cohorte",backgroundColor: 'rgb(184,58,180)',data: [103,30,22,8,2,1165,922,344,209,210,438,366,{label: "Cohorte",backgroundColor: 'rgb(184,58,180)',data: [103,30,22,8,2,1165,922,344,209,210,438,366,]},]},{label: "Democratie",backgroundColor: 'rgb(68,14,235)',data: [313,48,118,28,16,2278,2133,2475,3056,3253,2490,3161,{label: "Democratie",backgroundColor: 'rgb(68,14,235)',data: [313,48,118,28,16,2278,2133,2475,3056,3253,2490,3161,]},]},{label: "Ecologie",backgroundColor: 'rgb(9,137,230)',data: [5,0,1,0,0,355,935,688,1791,2123,1399,1129,{label: "Ecologie",backgroundColor: 'rgb(9,137,230)',data: [5,0,1,0,0,355,935,688,1791,2123,1399,1129,]},]},{label: "Technologie",backgroundColor: 'rgb(109,239,169)',data: [65,15,8,6,5,57,2025,549,214,442,436,706,{label: "Technologie",backgroundColor: 'rgb(109,239,169)',data: [65,15,8,6,5,57,2025,549,214,442,436,706,]},]},{label: "Global",backgroundColor: 'rgb(31,224,114)',data: [1564,627,255,351,120,11628,9083,3933,3825,3978,3877,4511,{label: "Global",backgroundColor: 'rgb(31,224,114)',data: [1564,627,255,351,120,11628,9083,3933,3825,3978,3877,4511,]},]},];
|
|
|
|
activeUsersByChannel = [{label: "accueil",backgroundColor: 'rgb(232,166,128)',data: [0,0,0,0,0,0,0,0,0,0,21,89,]},{label: "agenda",backgroundColor: 'rgb(106,148,87)',data: [0,0,0,0,0,0,0,0,0,29,15,6,]},{label: "animation-crapauds",backgroundColor: 'rgb(62,231,172)',data: [11,9,5,4,1,3,5,3,2,0,0,0,]},{label: "auberge-des-crapauds",backgroundColor: 'rgb(118,218,202)',data: [0,0,0,0,0,0,0,0,0,0,0,0,]},{label: "burn-out",backgroundColor: 'rgb(185,237,123)',data: [0,0,0,0,0,0,11,12,6,9,1,2,]},{label: "cadeaux-ibf",backgroundColor: 'rgb(179,42,136)',data: [0,0,0,0,0,0,0,0,0,0,0,7,]},{label: "cause-animale",backgroundColor: 'rgb(183,252,28)',data: [0,0,0,0,0,0,0,0,0,11,7,2,]},{label: "cercle-autonomie-energetique",backgroundColor: 'rgb(213,55,18)',data: [0,0,0,0,0,0,15,9,16,14,14,13,]},{label: "cercle-blockchain-crypto",backgroundColor: 'rgb(246,210,105)',data: [0,0,0,0,0,0,6,16,4,5,6,5,]},{label: "cercle-collaboratif",backgroundColor: 'rgb(239,152,70)',data: [10,2,2,2,2,23,28,13,5,11,8,13,]},{label: "cercle-des-arts",backgroundColor: 'rgb(200,199,93)',data: [0,0,0,0,0,0,17,17,9,10,11,10,]},{label: "cercle-diversité-culturelle",backgroundColor: 'rgb(233,223,114)',data: [5,4,7,1,0,16,10,9,4,4,5,2,]},{label: "cercle-démocratie",backgroundColor: 'rgb(39,81,112)',data: [9,6,2,4,0,40,30,18,12,11,13,14,]},{label: "cercle-education",backgroundColor: 'rgb(157,48,97)',data: [15,4,11,5,1,23,44,39,28,23,13,20,]},{label: "cercle-electronique",backgroundColor: 'rgb(20,133,125)',data: [0,0,0,0,0,0,22,9,3,1,1,3,]},{label: "cercle-enthousiasme",backgroundColor: 'rgb(73,128,129)',data: [7,3,3,2,2,20,9,4,3,5,9,2,]},{label: "cercle-europe",backgroundColor: 'rgb(245,243,107)',data: [5,1,1,1,0,16,9,4,3,1,3,4,]},{label: "cercle-game-changers",backgroundColor: 'rgb(212,195,150)',data: [9,1,1,4,0,12,9,2,3,1,5,1,]},{label: "cercle-generation-2050",backgroundColor: 'rgb(217,19,110)',data: [3,1,2,2,0,11,11,4,7,4,4,1,]},{label: "cercle-genie-digital",backgroundColor: 'rgb(110,114,193)',data: [10,3,3,3,3,13,11,8,5,1,2,3,]},{label: "cercle-intergenerationnel",backgroundColor: 'rgb(236,77,78)',data: [0,0,0,0,0,0,0,0,0,9,2,5,]},{label: "cercle-neurodiversité",backgroundColor: 'rgb(102,172,18)',data: [5,1,4,3,1,20,27,27,14,19,22,22,]},{label: "cercle-permaculture",backgroundColor: 'rgb(109,206,14)',data: [0,0,0,0,0,27,25,14,16,22,18,15,]},{label: "cercle-sante",backgroundColor: 'rgb(8,140,216)',data: [3,0,1,0,0,1,11,16,12,9,13,8,]},{label: "changer-de-paradigme",backgroundColor: 'rgb(24,25,203)',data: [0,0,0,0,0,0,0,0,14,21,18,17,]},{label: "chanvre",backgroundColor: 'rgb(186,192,177)',data: [0,0,0,0,0,0,0,0,0,0,0,0,]},{label: "christin",backgroundColor: 'rgb(147,173,81)',data: [0,0,0,0,0,0,0,0,0,1,0,3,]},{label: "cnv",backgroundColor: 'rgb(231,249,163)',data: [0,0,0,0,0,0,0,0,0,0,8,2,]},{label: "cohorte-2607",backgroundColor: 'rgb(217,243,4)',data: [11,6,5,4,1,5,5,1,1,5,3,0,]},{label: "cohorte-34",backgroundColor: 'rgb(197,16,203)',data: [0,0,0,0,0,4,7,3,0,3,0,2,]},{label: "cohorte-5962",backgroundColor: 'rgb(4,183,221)',data: [2,0,0,0,1,4,7,1,1,1,3,3,]},{label: "cohorte-belgique",backgroundColor: 'rgb(173,175,226)',data: [0,0,0,0,0,1,10,1,2,0,4,3,]},{label: "cohorte-bourgogne",backgroundColor: 'rgb(19,173,215)',data: [0,0,0,0,0,3,3,3,3,0,2,1,]},{label: "cohorte-bretagne",backgroundColor: 'rgb(107,218,177)',data: [0,0,0,0,0,0,0,7,8,4,8,2,]},{label: "cohorte-centre",backgroundColor: 'rgb(114,236,103)',data: [0,0,0,0,0,0,0,0,0,0,2,7,]},{label: "cohorte-geek",backgroundColor: 'rgb(146,188,170)',data: [0,0,0,0,0,28,26,16,10,10,17,17,]},{label: "cohorte-grand-est",backgroundColor: 'rgb(202,31,81)',data: [0,0,0,0,0,0,4,2,2,1,2,0,]},{label: "cohorte-grenoble",backgroundColor: 'rgb(188,218,196)',data: [0,0,0,0,0,7,6,5,4,6,4,0,]},{label: "cohorte-la-reunion",backgroundColor: 'rgb(112,5,83)',data: [0,0,0,0,0,0,0,0,0,0,0,0,]},{label: "cohorte-lille",backgroundColor: 'rgb(169,139,184)',data: [0,0,0,0,0,5,10,3,4,8,4,5,]},{label: "cohorte-normandie",backgroundColor: 'rgb(14,166,190)',data: [0,0,0,0,0,0,4,2,0,1,0,1,]},{label: "cohorte-paca",backgroundColor: 'rgb(65,4,21
|
2018-12-02 18:01:54 +00:00
|
|
|
|
|
|
|
|
2018-11-14 20:55:47 +00:00
|
|
|
var ctx = document.getElementById('byChannel').getContext('2d');
|
2018-11-14 17:50:45 +00:00
|
|
|
var chart = new Chart(ctx, {
|
|
|
|
// The type of chart we want to create
|
|
|
|
type: 'bar',
|
|
|
|
|
|
|
|
// The data for our dataset
|
|
|
|
data: {
|
2018-12-02 18:01:54 +00:00
|
|
|
labels: labels,
|
2018-11-14 20:55:47 +00:00
|
|
|
datasets: messagesByChannel,
|
2018-11-14 17:50:45 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
// Configuration options go here
|
|
|
|
options: {
|
|
|
|
legend: {
|
|
|
|
display: false
|
|
|
|
},
|
|
|
|
title: {
|
|
|
|
display: true,
|
2018-12-02 18:01:54 +00:00
|
|
|
text: "Nombre de message par canaux (" + updated + ")",
|
2018-12-02 18:50:59 +00:00
|
|
|
position: "top"
|
2018-11-14 17:50:45 +00:00
|
|
|
},
|
2018-11-14 20:55:47 +00:00
|
|
|
responsive: true,
|
|
|
|
scales: {
|
|
|
|
xAxes: [{
|
|
|
|
stacked: true
|
|
|
|
}],
|
|
|
|
yAxes: [{
|
|
|
|
stacked: true,
|
|
|
|
ticks: {
|
|
|
|
stepSize: 500
|
|
|
|
}
|
|
|
|
}]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
var ctx2 = document.getElementById('byTsunamy').getContext('2d');
|
|
|
|
var chart2 = new Chart(ctx2, {
|
|
|
|
// The type of chart we want to create
|
|
|
|
type: 'bar',
|
|
|
|
|
|
|
|
// The data for our dataset
|
|
|
|
data: {
|
2018-12-02 18:01:54 +00:00
|
|
|
labels: labels,
|
2018-11-14 20:55:47 +00:00
|
|
|
datasets: messagesByTsunami,
|
|
|
|
},
|
|
|
|
|
|
|
|
// Configuration options go here
|
|
|
|
options: {
|
|
|
|
legend: {
|
|
|
|
display: false
|
|
|
|
},
|
|
|
|
title: {
|
|
|
|
display: true,
|
2018-12-02 18:01:54 +00:00
|
|
|
text: "Nombre de message par Tsunami (" + updated + ")",
|
2018-12-02 18:50:59 +00:00
|
|
|
position: "top"
|
2018-11-14 20:55:47 +00:00
|
|
|
},
|
|
|
|
responsive: true,
|
2018-11-14 17:50:45 +00:00
|
|
|
scales: {
|
|
|
|
xAxes: [{
|
|
|
|
stacked: true
|
|
|
|
}],
|
|
|
|
yAxes: [{
|
|
|
|
stacked: true,
|
|
|
|
ticks: {
|
|
|
|
stepSize: 500
|
|
|
|
}
|
|
|
|
}]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
2018-11-15 20:56:19 +00:00
|
|
|
var ctx3 = document.getElementById('usersByTsunamy').getContext('2d');
|
|
|
|
var chart3 = new Chart(ctx3, {
|
|
|
|
// The type of chart we want to create
|
|
|
|
type: 'bar',
|
|
|
|
|
|
|
|
// The data for our dataset
|
|
|
|
data: {
|
2018-12-02 18:01:54 +00:00
|
|
|
labels: labels,
|
2018-11-15 20:56:19 +00:00
|
|
|
datasets: activeUsersByChannel,
|
|
|
|
},
|
|
|
|
|
|
|
|
// Configuration options go here
|
|
|
|
options: {
|
|
|
|
legend: {
|
|
|
|
display: false
|
|
|
|
},
|
|
|
|
title: {
|
|
|
|
display: true,
|
2018-12-02 18:01:54 +00:00
|
|
|
text: "Nombre d'utilisateur actifs par canaux (" + updated + ")",
|
2018-12-02 18:50:59 +00:00
|
|
|
position: "top"
|
2018-11-15 20:56:19 +00:00
|
|
|
},
|
|
|
|
responsive: true,
|
|
|
|
scales: {
|
|
|
|
xAxes: [{
|
|
|
|
stacked: true
|
|
|
|
}],
|
|
|
|
yAxes: [{
|
|
|
|
stacked: true,
|
|
|
|
ticks: {
|
|
|
|
stepSize: 50
|
|
|
|
}
|
|
|
|
}]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
2018-12-02 18:01:54 +00:00
|
|
|
</script>
|