Skip to main content
100%

Fork of Teddy Bear

✓ Published0🌍 Public
Ppeddubalaji@gmail.com
Last edited Feb 27, 2024
Created on Feb 27, 2024
Forked from Teddy Bear

This example shows a teddy bear built entirely from circles and simple paths, using D3’s data-join to bind an array of circle coordinates and radii to SVG elements. The bear includes a body, head, ears, eyes, nose, and a smile, plus curved arms drawn with path elements. It uses the `select` and `join` API from d3 to create and update the circles, while hardcoded data arrays define the bear’s geometry. The rendering is static, set against a light blue background, and the code includes no interactivity or animation.

AI-generated description

Creating circles with D3.

Challenge

  • Fork this example
  • Modify it
  • Maybe make it Halloween themed
  • Maybe make it Christmas themed
  • Be creative

Svelte

Here's a video on how to get started with Svelte as well!

MIT Licensed

Similar vizzes