Skip to main content
100%

act3_task4

✓ Published0🌍 Public
Rravularasesh3102@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024

This example combines a D3.js v7 bubble chart with an animated smiley face to demonstrate DOM manipulation. The bubble chart visualizes the correlation between average horsepower, torque, and highway MPG for various car makes, using `d3.scaleLinear` for axes and bubble size, `d3.scaleOrdinal` with `d3.interpolateTurbo` for color, and interactive tooltips on circle hover. The smiley face uses `d3.select` and `transition` to animate its eyebrows up and down. The chart loads data from a CSV file, while the face is built entirely with SVG shapes.

AI-generated description

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

MIT Licensed

Similar vizzes