Hi everyone,
Is it possible to center a legend that is being called in the color option? For example, the following minimum example would place a legend outside of the chart in the top left corner. What I really want is that outside-the-chart placement as normal but for the legend to be centered.
From my research on this site, it’s likely I’ll need to find some CSS-based approach to this. Let me know!
Plot.plot({
marks: [
Plot.barY(data,{
x: x,
y: y,
fill: fill
})
],
color: {
legend: true
}
})