click to select d3
✓ Published1🌍 Public
Click-to-select interactions drive a dynamic fruit bowl visualization built with D3 v6 and SVG. Fruit circles render from local data using d3.scaleOrdinal for color and radius, with transitions animating entries, exits, and type changes over time. Clicking a fruit toggles a black stroke via a callback, while d3.select and data joins manage updates. The example loads D3 from UNPKG and demonstrates modular ES6 imports for reusable chart components.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed