This is a graph demonstrating the implimentation of a gradient on an area graph. This was written using d3.js v4 and is a follow on to the gradient line graph example here.
This graph is part of the code samples for the update to the book D3 Tips and Tricks to version 4 of d3.js.
https://d3js.org/d3.v4.min.js