Line chart trendline

Is there a way to create a Line Chart trendline similar to the MS Excel Trendline function? I would like to extrapolate the Line Chart data to a "future" date.

Hey there, we are using the plotly.js library for our chart component. It looks like trendlines are possible on plotly with python, but not yet with js. Here's a feature request I found asking this to be available with javascript as well:

For the time being in Retool, you may need to build a custom component and/or import an external library to achieve this functionality.