Hi,
In this simple example a couple of traces place multiple points on the same y axis values. Here it’s just two on each row. I’d like the count of markers along each y row to display at the end of the row on the right hand side (or some other useful display). Ideally this would just be as a column of numbers - if we could label it, even better.
My case is more complex than this with several traces on 10 to 100 y axis rows, the x axis being dates and hundreds to thousands of points . This would make the count of the points for the same y value really useful!
var trace1 = {
x: [0, 1, 2, 3, 4, 5],
y: ["a", "b", "c", "d", "e", "f"],
type: 'scatter',
mode: "markers",
};
var trace2 = {
x: [1, 3, 5, 4, 3, 2],
y: ["a", "b", "c", "d", "e", "f"],
type: 'scatter',
mode: "markers",
};
var data = [trace1, trace2];
Plotly.newPlot('myDiv', data);