block by d3noob 3e72cafd95e1834f599b

Colour gradient on a graph line

Full Screen

This is a follow on from the simple d3.js graph used as an example in the book D3 Tips and Tricks.

It is aimed at demonstrating the application of a colour gradient to the line of a line graph using d3.js. It should be taken in context with the text of the book which can be downloaded for free from Leanpub.

index.html

data.csv