Skip to main content
100%

Zooming

✓ Published1🌍 Public
DDasbach.EJ
Last edited Jul 3, 2021
Created on Jul 3, 2021
Forked from Brushing

This example demonstrates D3.js zooming on a scatterplot of name, weight, and height data from a CSV file. The visualization renders circles in SVG, with axes and a zoomable plot area. Users can pan and zoom via the `d3.zoom` API, which rescales both x and y scales (`rescaleX`, `rescaleY`) and updates the axes and circle positions. The code uses React for the overall structure, with D3 v6 handling data binding, transitions, and axis generation.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes