Skip to main content
100%

Blank Canvas

✓ Published53🌍 Public
CCurran Kelleher
Last edited Nov 18, 2018
Created on Sep 20, 2018

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

Similar vizzes