Plot.plot({
inset: 0,
grid: true,
x:{
nice: true,
type: "linear",
domain: [
d3.min(alldatacumul2, d=>d.groupedBy),
d3.max(alldatacumul2, d=>d.groupedBy)
],
ticks: d3.min([alldatacumul2.length*2, 30]),
label: radios == null ? "Jour" : radios.name,
},
y:{
line: true,
nice: true,
},
marks:[
Plot.ruleY([0]),
Plot.ruleX([date_min_max[0]]),
Plot.line(alldatacumul2, {x: "groupedBy", y: "C"})
],
height: 500,
width : 800,
marginLeft: 100,
})