Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Blank Canvas

Public visualization

Blank Canvas

0 stars0🌍 Public
Jjlspangl
Last edited Sep 7, 2021
Created on Sep 7, 2021

This example presents a minimalist blank canvas: a single rounded rectangle fills the entire browser window as a static SVG shape. The visualization demonstrates the basic setup of an SVG-based D3 scene, sizing the drawing area to the viewport and rendering one straightforward geometric element. The code uses D3 v5's `select` function to target the SVG element, then appends a rectangle with a 40-pixel corner radius, with the page styled to remove margins and prevent scrolling.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed