D3.js version 5 Prediction Line Chart
This tutorial goes through how you can create a simple prediction line chart.
This allows you to graph predictions of how a line chart may continue its growth past a known dataset.
Example code and full tutorial
The full code is available by viewing the source of the below frame. If you want more detailed instructions there is my blog post I talk through the code step by step.