I use the astrojs library (precisely webfits and fitsjs) to load a FITS file in a canvas. I would like to add an overlay to encircle stars, trace paths and so on, and I decided to do it with d3.js
This is my current test (it takes a while to download a 1MB FITS image): http://bl.ocks.org/vertighel/raw/5193613/
the drag behavior works well, but the zoom behavior is bugged. Someone know how to fix it?