🌍 Public
Viewing a saved revision (read-only)
958f8c5574c64e06a7fcbed21582fed8
Fork of Circles with D3
A Svelte application renders four fixed-position circles onto an SVG canvas with a black background, using the D3 `select` API to bind data to SVG elements. Each circle's horizontal and vertical coordinates, radius, and fill color come from a hardcoded array. This example serves as a base template for creative modifications, such as applying Halloween or Christmas themes, by altering the data or attributes. The code relies on D3's `.join()` method to manage SVG circle creation and updates.
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!