🌍 Public
Viewing a saved revision (read-only)
ae6dac9ab9aa49ebb50df438e0c2fe82
Clickable Circles from CSV
This example displays a set of colored circles loaded from a CSV file, each positioned and sized by its own coordinates and radius. Hovering over a circle highlights it with a black stroke, using a React state to track the selected circle's ID. The visualization is rendered with D3 v7's `select` and `csv` APIs, alongside React's `useEffect` and `useState` hooks, with circle attributes and mouse events applied via `selection.join`.
AI-generated description