<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 100 100"
width="200"
height="200">
<circle r="50" fill="gold" id="circle" />
</svg>SVGCircleElement: r property / notebook
SVGCircleElement: r property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
const circle = document.getElementById("circle");
console.log(circle.r);