🌍 Public
Viewing a saved revision (read-only)
5a02e4f94af24c79ba0c5218517d72c0
Lets Make a face with D3.js
A yellow face rendered as SVG appears on a 960-by-500 canvas. The example constructs the face from three circles: a large yellow head, and two smaller black eyes, all positioned relative to the SVG's width and height attributes. The code uses D3.js v5's selection and attribute methods (`select`, `append`, `attr`) within a React project, with the JavaScript logic in `index.js` and styling provided by `styles.css`.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.