Fork of Let's make a face with D3.js!
✓ Published0🌍 Public
This example shows a static SVG face created with D3.js v7. The code selects an SVG element using `d3.select` and reads its width and height attributes to establish the canvas dimensions. It defines a `makeFruit` function that returns objects with a type property, and creates an array containing a single apple fruit object. The sketch appears to be a starting point that sets up a face-like composition framework, though no actual facial features are drawn in the visible code. The HTML file links the D3 library and applies a monospace font to the page.
AI-generated descriptionMIT Licensed