🌍 Public
Viewing a saved revision (read-only)
794e2e1d6a7f4fd3b99d3442a4684efa
Blank Canvas
This example presents a blank, rounded rectangle filling the entire browser window, rendered as an SVG element. It demonstrates the foundational structure of a D3.js visualization using the `d3.select` API to acquire the SVG canvas and setting its dimensions to match the viewport. The code calculates the width and height from the document body and appends a single `<rect>` element with a corner radius, offering a clean starting point for further graphical development.
AI-generated description