import { jenks } from "https://deno.land/x/simplestatistics@v7.8.3/index.js";
The jenks natural breaks optimization is an algorithm commonly used in cartography and visualization to decide upon groupings of data values that minimize variance within themselves and maximize variation between themselves.
For instance, cartographers often use jenks in order to choose which values are assigned to which colors in a choropleth map.