Untitled
This example demonstrates a scatter plot of 100 randomly generated points within a 600×400 SVG viewport. The visualization shows how D3’s zoom behavior transforms a group element containing the circles, enabling pan and zoom interactions. The code uses `d3.zoom()` with a `handleZoom` callback that applies the event transform via `.attr('transform', ...)`. Rendering relies on SVG circles with `cx`, `cy`, and `r` attributes, using D3’s data join pattern to bind the generated array of point objects.