Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of SVG Creation

Public visualization

Fork of Fork of Fork of SVG Creation

0 stars0🌍 Public
RRahulray12
Last edited Sep 19, 2023
Created on Sep 19, 2023

This example generates a colorful, geometric composition of overlapping, distorted quadrilateral polygons on a black background, creating a hypnotic, spiral-like visual effect. Each of the 60 polygons has its stroke color hue shifted incrementally, cycling through the spectrum. The code uses vanilla JavaScript to create SVG elements via `document.createElementNS` and sets attributes like `points`, `fill-opacity`, and `stroke` directly. No external libraries are used; the SVG is appended to the body, with the canvas size set to the full window dimensions.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed