Skip to main content
100%

Let's make a face with D3.js

✓ Published1🌍 Public
GGeolffrey S Mena
Last edited Dec 21, 2019
Created on Dec 21, 2019

This example demonstrates how D3.js can animate changes to a fruit bowl visualization over time, showing apples and lemons as colored circles on an SVG canvas. The fruitBowl module uses d3.scaleOrdinal to map fruit types to colors and radii. Through d3.select and data joins, the code updates the scene at one-second intervals, removing a fruit, changing one apple to a lemon, and filtering out another item. The visualization highlights D3's enter, merge, and exit selections for dynamic data binding.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes