Skip to main content
100%

Fork of Face with d3.js!

✓ Published0🌍 Public
KKusumaKumariDama@my.unt.edu
Last edited Feb 28, 2024
Created on Feb 28, 2024
Forked from Scene with d3.js!

This example draws a simple creature composed of basic SVG shapes using D3.js version 7. It demonstrates how to construct a figure by manually positioning circles for the body and head, lines for the arms, legs, and tail, and strokes for outlines. The code selects an SVG element, sets its dimensions from attributes, and appends a group translated to the center. It uses D3’s `select` and `arc` imports, though only `select` is applied for shape creation. The visualization highlights manual coordinate specification rather than data-driven binding or scales.

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