Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Blank Canvas

Public visualization

Blank Canvas

0 stars1🌍 Public
SSimon Pettersson
Last edited Feb 15, 2022
Created on Feb 15, 2022

A blank, full-screen SVG rectangle with rounded corners serves as the canvas. The example demonstrates a minimal setup using D3 v5, where the `select` function targets the SVG and sets its dimensions to match the viewport. It appends a single `rect` element with a rounded corner radius, filling the entire space. The code highlights basic SVG rendering and dynamic sizing based on the browser window.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed