Plot.plot({
x: {label: "",
type:"utc",
tickFormat: d3.utcFormat("%Y")},
y: {label: "",
domain : [0, Math.max(...max.map(d => d.taux_chomage))]},
marks: [
Plot.line(graph_principal_filtre,
{x: "Date",
y: "taux_chomage",
sort: "Date",
stroke: "#33FF80",
}),
Plot.line(graph_principal_filtre_dep2,
{x: "Date",
y: "taux_chomage",
sort: "Date",
stroke: "#712A6D"
}),
Plot.line(graph_principal_filtre_reg,
{x: "Date",
y: "taux_chomage",
sort: "Date",
stroke: "#FF5833"
}),
Plot.line(graph_principal_filtre_fm,
{x: "Date",
y: "taux_chomage",
sort: "Date",
stroke: "#3342FF"
}),
Plot.dot(graph_principal_filtre,
{x: "Date",
y: "taux_chomage",
fill: "#33FF80",
title: (d) => `${d.info_bulle}`,
r: 2
}),
Plot.dot(graph_principal_filtre_dep2,
{x: "Date",
y: "taux_chomage",
fill: "#712A6D",
title: (d) => `${d.info_bulle}`,
r: 2
}),
Plot.dot(graph_principal_filtre_reg,
{x: "Date",
y: "taux_chomage",
fill: "#FF5833",
title: (d) => `${d.info_bulle}`,
r: 2
}),
Plot.dot(graph_principal_filtre_fm,
{x: "Date",
y: "taux_chomage",
fill: "#3342FF",
title: (d) => `${d.info_bulle}`,
r: 2}),
],
})