Fork of Hot Circles
✓ Published0🌍 Public
Animated circles in vivid colors pulse and drift across a black canvas, blending via screen mode for luminous overlaps. The visualization reads a static CSV dataset of circle positions and radii, rendering each as an SVG element with a 2-second growth transition. D3’s selection joins handle enter, update, and exit states, while `transition` with `easeLinear` animates movement and resizing. Data coordinates drive the layout, with opacity set for subtle layering.
AI-generated descriptionAn example showing the capabilities of VizHub 3.
See also Blank Slate for an intro video on hot reloading.
<video autoplay="" loop="" muted="" width="100%"> <source src="https://vizhub-images.s3.amazonaws.com/hot-reloading-demo.mp4" type="video/mp4" /> </video>- There is no
index.htmlhere! That's what enables hot reloading. - The entry point is the named export
mainfromindex.js - The first argument to
mainiscontainer, a DOM node - The
containerDOM node is a<div>with measurable dimensions - You can
import './styles.css'to load CSS - You can
import data from './data.csv'to load CSV data - Dependencies such as D3 are configured in
package.json - Alt+Click on a color to get a color picker
- Alt+Drag on a number for to change it
- All changes are hot reloaded
- Works with remote collaborators!
MIT Licensed