Skip to main content
100%

fresh block

✓ Published0🌍 Public
SSelan87
Last edited Feb 19, 2018
Created on Feb 19, 2018

Ten black circles sit in a ring around the center of an SVG canvas. Moving the mouse over a circle turns it red; moving the mouse away returns it to black. The code uses D3 v4 to bind an array of ten numbers to circle elements, positioning each one with trigonometric functions based on its index. The SVG is created with d3.select and appended directly to the body, with a fixed width of 960 pixels and height of 500 pixels.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes