Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

CAT D3.js!

Public visualization

Viewing a saved revision (read-only)

d61f7386105343a4985c0626aa0497fe

CAT D3.js!

0 stars1🌍 Public
Sshanmukhadatta4040@gmail.com
Last edited Feb 28, 2024
Created on Feb 27, 2024

This example uses D3.js to draw a cheerful cat face in an SVG canvas, centered via a translated group. The cat features a gray circular head, triangular ears with pink inner shapes, white eyes with black pupils, a pink nose, a curved smiling mouth, and curved whiskers. All elements are constructed using basic D3 DOM manipulation methods like `append` and `attr`, demonstrating how to build and style SVG shapes from scratch.

AI-generated description

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