Skip to main content
100%

Fork of Circles with D3

✓ Published1🌍 Public
NNita
Last edited Feb 7, 2024
Created on Feb 7, 2024
Forked from Circles with D3

This example displays a single red circle against a red background, creating a subtle contrast that makes the circle barely visible. It uses the D3 library to select a container element, set the SVG dimensions, and bind data to render the circle with a radius of 200 pixels. The code imports the `select` function from D3 and defines an exported `main` function that receives a container and applies the SVG attributes and circle elements. A README encourages forking and modifying the visualization with holiday themes like Halloween or Christmas.

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