Making a scatter graph responsive

I am trying to make the scatter graph responsive. I have looked at the code from and am having trouble matching the code.
Here is an address the the fiddle I have been playing around with If anyone can show me or guide me on what to do, to make the scatter graph responsive.

Here’s a working version:

1 Like

Hi Etienne,
Here in the above give examples it works very well with the resize of the screen.
I.e when we resize the screen its working we are getting responsive.

But the ctrl zoom is not working.
i.e when we press ctrl + mouse wheel the size remains the same .
Can You please helps us in fixing it .

Thank you