Skip to main content
100%

d3js workshop - circles

✓ Published0🌍 Public
OOValdivia110
Last edited Oct 19, 2017
Created on Oct 19, 2017

Three circles appear in a horizontal row on an SVG canvas, then animate their fill color, radius, and vertical position. The example demonstrates basic D3.js data binding and transitions using `d3.selectAll`, `.data()`, `.enter()`, and `.append()`, with a data array of `[10, 20, 30]` determining circle indices. It uses `transition().duration()` and `transition().delay()` to stagger color changes to red over two seconds while also shifting the circles downward. The code is a workshop exercise built with D3 v3, rendering via SVG elements in the browser.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/mostaphaRoudsari/'>mostaphaRoudsari</a>'s block: <a href='http://bl.ocks.org/mostaphaRoudsari/4663275cf71af0e30e1fe869af90cb39'>03_workshop_the 3 circles</a>

mit Licensed

Similar vizzes