Fork of Hello VizHub 3
✓ Published0🌍 Public
This example demonstrates animated, semi-transparent circles overlaid on a lime-green background, with blue squares arranged across the top. Using D3.js’s `select`, `transition`, and `join` APIs, circles enter with staggered delays, update their position, size, and color, and can exit by shrinking. The data comes from a CSV file with fields `id`, `x`, `y`, `r`, and `fill`. The code also imports CSS to apply a multiply blend mode to the circles.
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