Skip to main content
Unlisted

Share visualization

Loading preview…

React & D3 AI Template

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

Anyone with the link can view this unlisted visualization. Posting it publicly will make the link discoverable.

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Viewing a saved revision (read-only)

771a0719290e41b48d0327d2354d138e

React & D3 AI Template

0 stars0
CCurran Kelleher
Last edited Feb 28, 2025
Created on Feb 28, 2025
View stargazers

A React application renders a set of circles on an SVG canvas, using D3.js to scale and position the data points. The circles are interactive, responding to clicks by highlighting the selected circle with a black stroke and bringing it to the front. The app uses ResizeObserver to track container dimensions and re-renders the visualization on state changes. D3's `selectAll` and `join` methods manage the SVG elements, while the data is provided as a static array of coordinates and radii.

AI-generated description

Starter designed for use with AI.