Skip to main content
Public

Share visualization

Loading preview…

Svelte Starter

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

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)

AyYof5ocJVPmzaCfYGoHo

Svelte Starter

0 stars0
CCurran Kelleher
Last edited Nov 20, 2026
Created on Nov 18, 2026
View stargazers

Six semi-transparent circles are drawn on a warm orange-tinted background, showing a simple static data visualization example of formatted points. The project demonstrates a minimal Svelte setup that integrates the D3 library, using Svelte’s `{#each}` block to render SVG `<circle>` elements directly from hardcoded data arrays. The `App.svelte` component defines the data and styling, while `index.js` mounts it via Svelte’s `mount` function, and the `package.json` configures D3 as a global dependency for the VizHub environment.

Rainbow Circles

An animated rainbow circle visualization. Click or keyboard-focus a circle to highlight it; activate it again to clear the highlight.

Background motion only scales each circle around its own center (no translation), so the rendered center always matches the cx/cy click target. Selection grows smoothly from the circle's current size via a CSS scale transition.

References

MIT Licensed