block by sxv 4485778

Interactive SVG + Canvas Plot

Full Screen

A D3 demonstration of SVG and Canvas intermingling. Blue circles are plotted in SVG, black circles in canvas. One force to rule them all. The plot is zoomable and pannable.

Inspired by M. Bostock’s Canvas / SVG zoom comparison series and collision detection examples [1] [2] .