{
const r = d3.rollup(
data,
v => v.length,
d => d.datetime.getMonth()
);
const o = Object.fromEntries(r);
const max = d3.max(Object.values(o));
const result = Object.keys(o).find(v => o[v] === max);
const months = ['Janv.', 'Fev.', 'Mars', 'Avr.', 'Mai', 'Juin', 'Jui.', 'Aout', 'Sept.', 'Oct.', 'Nov.', 'Dec.'];
return months[result];
}