TD1_VIZ
✓ Published1🌍 Public
This interactive D3 visualization displays three concentric circles in the center of an SVG canvas, each with a distinct color (green, orange, and red). A button labeled "Transition" triggers an animated zoom effect, scaling the circles' radii progressively with each click until a maximum zoom level is reached, then resetting. The circles also respond to mouse hover events, temporarily changing their fill color to black before reverting. The code uses D3 v5 selection and transition methods, loading data from a `truc.csv` file that contains population statistics for various countries.
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