Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Circles with D3

Public visualization

Viewing a saved revision (read-only)

7b317a33a04c4b8e94486175b8ca89f4

Fork of Circles with D3

0 stars1🌍 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!