Fix chart to one side on zoom/wheel zoom with D3
I’m currently working on a candlestick chart with D3 in a NextJS app.I have some basic zoom/pan working. What I need ,however, is to “fix” the chart on one side(right) so that when I zoom, the data points are only moving left. Right now the chart moves away from the mouse position.