Skip to main content
100%

Fork of make a face

✓ Published0🌍 Public
Mmanishabehera
Last edited Apr 3, 2021
Created on Apr 3, 2021
Forked from make a face

This example draws a simple yellow face with black eyes and a smiling mouth onto an SVG canvas using D3 version 6. The code imports `select` and `arc` from D3, appends circles for the head and eyes, and uses a path generated by `arc()` to create the mouth shape with specified radii and angle ranges. The SVG is 960 by 500 pixels, with elements positioned using absolute coordinates.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes