Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Circular pattern of positioning circles with two distinct categories

Public visualization

Viewing a saved revision (read-only)

eb4e494b8313445e9de47075a1a29928

Fork of Circular pattern of positioning circles with two distinct categories

1 star0🌍 Public
Ssofia-martinovich
Last edited Apr 16, 2021
Created on Mar 29, 2021

This example generates two concentric circular patterns of small dots, each representing a distinct category. The outer ring contains 1000 circles, and the inner ring contains 800 circles, both positioned using trigonometric calculations with randomized radii. Each circle animates its position via chained `transition()` calls in D3 v6, which moves them from their initial origin to their computed coordinates. The visualization uses SVG rendering within a React framework, with opacity applied based on the x-coordinate to create a half-visible effect that distinguishes the two layers.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.