Blank Canvas
✓ Published0🌍 Public
This example renders a full-screen black canvas with a single rounded rectangle drawn across the entire viewport. The visualization uses D3.js to select the SVG element and dynamically set its width and height based on the browser window’s client dimensions. The rectangle is appended with a corner radius of 40 pixels, while CSS fixes the body and disables scrolling. The page relies on D3’s `select` and `attr` methods, producing a minimal, static composition that highlights empty space.
AI-generated descriptionMIT Licensed