line-density
✓ Published2🌍 Public
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 descriptionMIT Licensed