{"version":"1.0","type":"rich","title":"Lichen.js Basic Example","description":"This example demonstrates how to create a simple striped pattern using the Lichen.js library and apply it as a fill to an SVG rectangle. The code defines a `ln.stripe()` pattern with alternating crimson, yellow, and steelblue bands of varying widths. It then uses the pattern’s `.use()` method to fill a 960 by 500 SVG rectangle, leveraging D3 v4 to select the SVG element. Lichen.js generates the pattern definition in the SVG's `<defs>` section, and the example shows the basic workflow for creating and applying reusable patterns.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-439cb191d1e9a6d624f6d1a63aaf1b0d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}