Fork of D3 Starter
✓ Published0🌍 Public
This example shows a simple D3 starter visualization that renders 15 circles along a sine wave across a full-screen SVG canvas. The circles are positioned using `d3.range()` to generate data, with x-coordinates spaced 60 pixels apart and y-coordinates calculated using `Math.sin()`. The code uses D3 v7’s `select` and `range` imports, appends an SVG to the body, and binds the generated data to circle elements via `enter()` and `append()`, setting each circle’s radius to 20 and its position with `attr` and callback functions.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed