This video is available to students only

Draw canvas

Creating our wrapper and bounds elements.

Draw canvas#

Let's create our wrapper element. Try to write this code without looking first. Like we've done before, we want to select the existing element, add a new <svg> element, and set its width and height.

 

This page is a preview of Fullstack D3 Masterclass

Please select a discussion on the left.