Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Filled lines art - 2

Public visualization

Viewing a saved revision (read-only)

3726fbaa089e42dc9d2c4d212de3f301

Fork of Filled lines art - 2

1 star0🌍 Public
NNita
Last edited Mar 10, 2022
Created on Mar 10, 2022

This example generates an organic, gradient-filled line art piece by plotting a series of random points connected by a smooth curve. The visualization uses 1,000 data points to create a flowing, abstract shape, with the path rendered in SVG and colored with a linear gradient that transitions from red to blue. The code relies on D3 v7's `d3.line` and `d3.curveBasis` to smooth the line, while the random data is generated directly in the script using `Math.random()`.

AI-generated description