blank canvas
✓ Published0🌍 Public
A blank SVG canvas fills the browser viewport, with a single rounded rectangle drawn to match the full window dimensions. The example demonstrates the minimal setup for a D3.js visualization within a React framework, using d3.select to target the SVG element and append a rect with computed clientWidth and clientHeight. The rect’s rounded corners are set via the rx attribute, while the body’s fixed positioning and hidden overflow ensure the canvas remains static and edge-to-edge.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed