Fork of Circles with D3
✓ Published0🌍 Public
This example uses D3 to draw a set of colored, semi-transparent circles on a light green background. The visualization is generated from a hard-coded array of data points, each specifying the circle's x and y coordinates, radius, and fill color. The Svelte-based code employs d3’s `select` function to manage the SVG container and repeatedly updates the circles using the `.join` pattern, setting attributes like `cx`, `cy`, `r`, `fill`, and `opacity` directly from the data.
AI-generated descriptionCreating circles with D3.
Challenge
- Fork this example
- Modify it
- Maybe make it Halloween themed
- Maybe make it Christmas themed
- Be creative
Svelte
Here's a video on how to get started with Svelte as well!
MIT Licensed