Skip to main content
100%

Fork of Circles with D3

✓ Published0🌍 Public
Oownerofthesoul0000@gmail.com
Last edited Feb 4, 2024
Created on Feb 4, 2024
Forked from 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 description

Creating 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

Similar vizzes