I want to implement the functionality of group by in scatter chart.

How can I show data in group by in scatter chart?

Thanks