Skip to main content
100%

DOM panzoom demo 3

✓ Published1🌍 Public
OOleJRask
Last edited Dec 10, 2021
Created on Nov 27, 2021
Forked from DOM panzoom demo 2

This example demonstrates pan-and-zoom interaction on a scatter plot of breast cancer data from a CSV file, plotting Clump Thickness against Uniformity of Cell Size. The visualization uses Vega-Lite via the vega-lite-api to render circles, with scales bound to interval selections, enabling mouse-drag panning and wheel zooming on the SVG output. It also applies the panzoom library to the DOM element for additional zoom capability, while custom configuration adjusts axis and label styling for readability.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes