Fork of Circles 5/6
✓ Published0🌍 Public
This example demonstrates a single D3.js interface that controls three independent visualizations: a numeric input resizes a circle, a dropdown changes a second circle’s fill color via transition, and a range slider adjusts the radius of four circles rendered in an SVG. Built with D3 v6, the code uses `d3.select` to target HTML elements and SVG containers, appending circles with `.attr` and applying smooth color changes via `.transition().duration()`. The dropdown options are generated using `.join('option')`, while the slider updates circle radii through an `.on('change')` event listener.
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