Plot.plot({
color: { legend: true },
y: { grid: true, domain: [0, 1] },
x: { tickFormat: (d) => d.toString(), domain: [1900, 2025] },
marks: [
Plot.ruleY([0]),
Plot.lineY(data_to_plot, {
x: "year",
y: "v2xca_academ",
z: "country_name",
stroke: "country_name"
})
]
})