svg
This example shows a simple SVG face composed of a large yellow circle with a black outline and a smaller black circle representing an eye, centered on a 960×500 canvas. The code uses D3 v6’s `select` and `append` methods to create SVG elements, reading dimensions from the `width` and `heigth` attributes of the root `<svg>` element. The `heigth` attribute is misspelled in the HTML, but the JavaScript accesses it consistently, demonstrating basic SVG drawing with D3 selections and attribute chaining.