Skip to main content
100%

DOM panzoom demo INTERACTIVE! 02

✓ Published0🌍 Public
OOleJRask
Last edited Nov 29, 2021
Created on Nov 29, 2021

This interactive demo shows a scatter plot of breast cancer dataset attributes, plotting Clump_Thickness against Uniformity_of_Cell_Size. Users can pan and zoom the entire DOM by holding the Alt key, using the panzoom library to control both wheel-zoom and mouse-drag interactions. The visualization is built with Vega-Lite API and rendered as SVG, with D3 v7 fetching the CSV data. The plot fills the viewport and includes linked scale-brushing via a selection parameter bound to the axes.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes