Blank Canvas
✓ Published1🌍 Public
This example displays a single rounded rectangle filling the entire browser viewport, adapting its dimensions to the window’s client area. The visualization uses D3 v6 selections via the `d3.select` API to target the SVG element, then appends a `rect` with corner radius (`rx`) set to 40. The SVG’s width and height are derived from `document.body.clientWidth` and `document.body.clientHeight`, with CSS fixing the body to the screen edges and hiding overflow.
AI-generated descriptionMIT Licensed