Fork of Hello VizHub 3
✓ Published0🌍 Public
This example demonstrates animated transitions of colored circles and squares using D3 version 7.8.5. The circles, loaded from a CSV file with x, y, radius, and fill color attributes, grow into place with staggered delays while squares move across the background. Updates and exits use fast and slow transitions with easing, and mix-blend-mode multiply blends overlapping shapes. The visualization runs entirely within a measured container div, highlighting hot-reload capabilities through parameter editing.
AI-generated descriptionAn example showing the capabilities of VizHub 3:
- There is no
index.htmlhere! - 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