import { default } from "https://deno.land/x/simplestatistic@v7.7.1/src/linear_regression_line.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.