Skip to main content
100%

orientation

✓ Published1🌍 Public
Zzoniyac
Last edited May 7, 2020
Created on May 6, 2020
Forked from orientation

This example shows a large, dark square filled with two distinct path-based patterns created using the textures library. Each pattern is generated by a different custom path function and applied to the square as a fill. The code uses `textures.paths()` to define the patterns and `svg.call()` to register them, then assigns the texture URLs to the rectangle via `.style("fill", t1.url())`. The rendering is done with D3 v5 and SVG, with the square drawn as a single `rect` element.

AI-generated description
MIT Licensed

Similar vizzes