Skip to main content
100%

Olympic Circles with D3

✓ Published1🌍 Public
Bbenclark.3rd@gmail.com
Last edited Jan 14, 2024
Created on Jan 14, 2024
Forked from Circles with D3

This example renders the Olympic rings as five semi-transparent circles arranged in the classic overlapping pattern against a light green background. The code uses D3’s `select` and `join` pattern to bind an array of coordinate and color data to SVG `circle` elements, setting each circle’s `cx`, `cy`, `r`, and `fill` attributes directly. The rings are drawn statically with an opacity of 0.7, emphasizing the layered interlocking effect rather than animation.

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

Similar vizzes