Skip to main content
100%

Blank Canvas

✓ Published1🌍 Public
BBKirst3
Last edited Mar 6, 2021
Created on Mar 6, 2021

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 description
MIT Licensed

Similar vizzes