import { linearRegressionLine } from "https://deno.land/x/simplestatistics@v7.8.3/index.js";
Given the output of linearRegression
: an object
with m
and b
values indicating slope and intercept,
respectively, generate a line function that translates
x values into y values.