block by curran 098af28142c664535cdf624d09dd90a8

SVG Basics

Full Screen

A small code example showing basic SVG Shapes.

Part of the course D3.js in Motion.

Built with blockbuilder.org

forked from curran‘s block: HTML Starter

index.html

<!DOCTYPE html>
<head>
  <title>SVG Basics</title>
</head>
<body>
  <svg width=960 height=500 >
    <rect x=50 y=125 width=250 height=250 />
    <circle cx=480 cy=250 r=118 />
    <line x1=628 y1=125 x2=870 y2=360 stroke="black"/>
  </svg>
</body>