Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Let's make a face with D3.js!

Public visualization

Fork of Fork of Let's make a face with D3.js!

0 stars0🌍 Public
Mmathsalmath@gmail.com
Last edited Mar 23, 2026
Created on Mar 22, 2026

Halfway through building a smiley face, this example uses D3.js and React to render an SVG face with a yellow circle, black eyes, and a placeholder for a smile. The code imports `select` and `range` from D3 to select the SVG element and generate an array of fruit objects, though only the basic circle shapes are currently drawn. The SVG is rendered directly in the HTML with fixed width and height attributes, while React is loaded but only used to log its presence in the console.

AI-generated description

Half way of the smiley face

Comments

Sign in to join the discussion.

MIT Licensed