I have a svg where I have implemented zooming via D3.js.
I am not satisfied with the zoom factor when using the mousewheel.
How can I adjust the zoom factor?
I made a JSfiddle with an example of how I implemeted the zooming.
I thought I need something like this but it is wrong:
I am trying to make my problem a bit clearer:
I want to set a factor, that acts as the zoom factor for one mousewheel revolution.
Illustration with pictures:
The SVG without zoom:
After one mousewheel revolution:
What I would like to have after one mousewhell revolution:
I know how this worked in older versions of D3.js but can someone help me with the current version?