This is a simple line graph written with d3.js v7 and based on @mbostock’s example here.
This simple graph is designed to be used as a starting point for further development as part of documenting an update to the book D3 Tips and Tricks to version 7 of d3.js.