Blank Canvas
✓ Published2🌍 Public
This example demonstrates a simple, blank SVG canvas with rounded corners, filling the entire browser viewport. The visualization uses JavaScript and the D3.js library (version 5) to select the SVG element and dynamically set its width and height to match the body's client dimensions. A single `rect` element is appended to the SVG, with its dimensions set to the full viewport size and a corner radius of 40 pixels. The accompanying CSS fixes the body to the viewport edges and defines styling for potential axis, line, and circle elements, though the displayed chart contains no data or additional marks.
AI-generated descriptionMIT Licensed