🌍 Public
Viewing a saved revision (read-only)
1fb8d4bee5bd4ff796bc055c62bde32f
Zooming
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.