Skip to main content
100%

Fork of Let's make a face with D3.js!

✓ Published0🌍 Public
TTomoyukiEguchi
Last edited Jan 28, 2021
Created on Jan 28, 2021

This example demonstrates how to visualize daily COVID-19 case data from the covid19india.org API as an animated smiley face, with eyebrows that move in response to changes in case counts. The chart renders as an SVG using D3.js v5, where the face and its features are constructed from data-driven DOM manipulation. The code fetches the JSON data, processes it with custom logic, and plots the result by binding data to SVG elements, showing how D3 can create playful, data-responsive visualizations.

AI-generated description

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

MIT Licensed

Similar vizzes