Skip to main content
100%

Fork of Create a face with d3.js!

✓ Published3🌍 Public
Hharichandanamone21@gmail.com
Last edited Feb 27, 2024
Created on Feb 27, 2024

This example uses D3 v7 to draw a cartoon cat entirely from SVG primitives, combining circles, ellipses, lines, and paths to form the body, head, ears, eyes, nose, mouth, whiskers, and tail. Each element is created manually via `document.createElementNS` and appended to an SVG container, avoiding D3 data joins or scales. The static illustration uses fixed pixel coordinates and a gray, black, and pink palette, demonstrating direct SVG manipulation within a minimal HTML and CSS setup.

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