Skip to main content
100%

line-density

✓ Published2🌍 Public
Zzoniyac
Last edited Apr 21, 2020
Created on Apr 21, 2020

Five squares display the same vertical line pattern at five distinct densities, from widely spaced to finely packed lines. D3 selects SVG rectangles and applies line textures generated by the textures.js library, with each texture's spacing controlled by the `.size()` method. Thick black outlines frame each rectangle, isolating the visual effect. The example demonstrates how varying the size parameter alters perceived line density while keeping orientation constant.

AI-generated description
MIT Licensed

Similar vizzes