🌍 Public
Viewing a saved revision (read-only)
d42f2d4048a34b91a68c44d816df5627
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