Scatter Plot with Image Mask
This example shows a scatter plot transformed by an SVG image mask, where a circular region filled with a photographic image is revealed through a pattern of 1,000 randomly generated points. The points are generated using a custom `generateRandomPoints` function and drawn as white circles inside a mask, while a pattern element loads an external BBC news image. D3 v6 selections, the `mask` and `pattern` SVG elements, and radius-based circle rendering combine to create the effect, with the mask applied only to the central circle rather than the entire SVG canvas.