All examples By author By category About

HarryStevens

Fun with Linear Gradients II

This block uses SVG's linearGradient element and D3 selections to create a linear gradient. Rather than having just two colors, this gradient uses a six-color rainbow spectrum.

Drag the circles to change the gradient's orientation.