SVG
This example demonstrates how to create an SVG visualization using D3 v6's selection API to append elements directly to the DOM. The code shows a minimal setup with a 960x500 SVG canvas, using `d3.select` and `selection.attr` methods. Commented-out code illustrates an alternative approach using native DOM methods like `createElementNS` for manual SVG construction, including a mask element and rectangles. The current active code simply creates an empty SVG, while the commented section reveals a potential pattern for applying masks to shapes within the SVG namespace.