Skip to main content
100%

orientation

✓ Published3🌍 Public
Zzoniyac
Last edited May 13, 2020
Created on Apr 21, 2020
Forked from shape

A 2x5 grid of black-bordered squares displays ten distinct texture fills generated by the textures.js library. The patterns include hexagons, crosses, caps, woven lines, waves, squares, circles, a complemented circle set, and diagonally oriented lines. D3.js v5 selects the SVG element and appends each rectangle, assigning the texture’s `url()` as the fill style via `d3.select('svg')` and chained `.attr()` calls. The example demonstrates the variety of available texture API options, including shape, size, and line orientation parameters.

AI-generated description
MIT Licensed

Similar vizzes