Plot.plot({
height: 500,
width: 800,
style: {
fontSize: 14
},
marks: [
Plot.ruleY([0]),
Plot.lineY(revMoyData, {
x: "tAxis",
y: "value",
curve: "basis",
strokeWidth: 2,
stroke: "#993404"
})
],
grid: true,
x: {
label: "année",
type: "point"
},
y: {
label: data.content.indicators[0].c_lib_indicateur + " (" +data.content.indicators[0].c_unite + ")",
},
marginTop: 50,
marginLeft: 50,
marginBottom: 50
})