Skip to main content
100%

DOM panzoom demo 4

✓ Published1🌍 Public
OOleJRask
Last edited Nov 28, 2021
Created on Nov 27, 2021
Forked from DOM panzoom demo 3

This example demonstrates how pan-and-zoom interaction can be applied to a scatter plot of breast cancer data. The visualization uses a circle mark for each data point, mapping `Clump_Thickness` and `Uniformity_of_Cell_Size` to x and y axes, with fixed domains. Built with vega-lite-api and registered with vega-lite and vega, the chart fills the viewport. The panzoom library enables smooth zooming and panning of the entire DOM container, while the data is loaded from a CSV via d3.csv.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes