Fork of Circles with D3
✓ Published0🌍 Public
This example displays six semi-transparent circles with varied colors and sizes positioned across a light green background. Built with Svelte and D3, it uses `d3.select` to create an SVG canvas and binds an array of circle objects containing x, y, radius, and fill properties. The `join('circle')` pattern renders the shapes with specified coordinates and dimensions, while the opacity attribute applies a fixed transparency. The code serves as a simple base for creative modifications, such as holiday-themed variations.
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