Skip to main content
100%

Texture Test

✓ Published0🌍 Public
Aannabsmylie
Last edited Sep 28, 2016
Created on Sep 28, 2016

A grid of 144 circles displays a factorial combination of three colors and three textures, creating a visual test for encoding categorical data. The circles are grouped into nine blocks, each pairing one color from a ColorBrewer palette with one texture from the Textures.js library, including lines, circles, and paths. Every second, a transition animates the circles to new random radii, using D3’s `transition.attr` and `setInterval`. The code builds nested ordinal scales to map color and texture pairs, generating unique SVG patterns via `textures.lines()`, `textures.circles()`, and `textures.paths()`.

AI-generated description

Built with blockbuilder.org

With much help from Curran Kelleher's Block

mit Licensed

Similar vizzes