Skip to main content
100%

Fork of Circles with D3

✓ Published0🌍 Public
Rrpal28384@gmail.com
Last edited Feb 6, 2024
Created on Feb 6, 2024
Forked from Circles with D3

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 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