Dynamic grouping into quadrants

A dynamic scatter chart like this is what i am trying to achieve.
[PS: the pic is something i did in paint for example. Not based on actual data]