This is a simple graph demonstrating the addition of a filled area in conjunction with a line graph. This was written using d3.js v5 and is a follow on to the simple graph example here.
This graph is part of the code samples for the update to the book D3 Tips and Tricks to version 5 of d3.js.
https://d3js.org/d3.v5.min.js