Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cute Teddy Bear

Public visualization

Viewing a saved revision (read-only)

07a149cd145847bc83c95f5c03591002

Cute Teddy Bear

0 stars1🌍 Public
Ppriyapravallika44@gmail.com
Last edited Feb 24, 2025
Created on Feb 23, 2025
Forked from Donut Platter

This example uses D3.js (d3.v6) to render a decorative SVG scene of a teddy bear on a beige background. The bear is composed of basic geometric shapes, including circles for the head, ears, and body, with a curved path for a smile and a blue rectangle and path for a cap. A red balloon, with a line for its string, and a pink flower with a green stem are added to complete the illustration. The code directly appends shapes to an SVG canvas using d3.select and attributes like circles, polygons, paths, and rectangles.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.