You are right, clustering on Y axis does not work for any XY plot (like Scatter) yet. Mainly because we…