import { default } from "https://deno.land/x/simplestatistics@v7.7.5/src/equal_interval_breaks.js";
Given an array of x, this will find the extent of the x and return an array of breaks that can be used to categorize the x into a number of classes. The returned array will always be 1 longer than the number of classes because it includes the minimum value.