test record
✓ Published1🌍 Public
This example displays a network of musical artists and their associations as an interactive force-directed graph. It fetches artist data from the Wasabi API, collects associated artists and record labels, then renders nodes and links using SVG circles and lines. The layout is computed with d3.forceSimulation, applying forceLink, forceManyBody, and forceCenter. Hovering over a node triggers mouseover and mousemove events to show a tooltip with the artist’s name and label count.
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