Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Kkirkdebaets
Last edited Feb 8, 2019
Created on Feb 8, 2019

Despite its title, this visualization is an animated smiley face drawn with SVG. D3.js v5 appends circles for the eyes and a path for the mouth to a central group, using a yellow circle with a black stroke as the face. The eyebrows are rectangles animated via chained `transition().duration()` calls, which move them up and down over two seconds each, demonstrating basic DOM manipulation and animation with the D3 selection API.

AI-generated description

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

MIT Licensed

Similar vizzes