Make a click to graph

Hello all,

I badly want to make a click to graph like this example in here:

that it click on the graph to reveal a different thing
I wanted to make it for the whole unit I am teaching so preferably an easy cl code ?!

Many thanks in advance

Do you mean you want to recreate that specific inequality graph? Or some other type of graph with clickable objects? If you can provide an example of what you want it to do it will be easier to help.