Fork of Rabbitface with D3.js
✓ Published0🌍 Public
This visualization shows a smiling rabbit face with animated eyebrows. The face is constructed using basic SVG shapes—circles for the head and eyes, rectangles for eyebrows and teeth, and a D3 arc path for the mouth. Using d3-selection, the code appends these elements to an SVG canvas. A chained `transition()` with a two-second duration moves the eyebrows upward, changes their fill color to red, then moves them back to their original position with black fill. The D3 library version is v5, and all shapes are centered within a 960x500 SVG.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.
MIT Licensed