main repo

This commit is contained in:
Basilosaurusrex
2025-11-24 18:09:40 +01:00
parent b636ee5e70
commit f027651f9b
34146 changed files with 4436636 additions and 0 deletions

12
node_modules/d3-shape/src/order/ascending.js generated vendored Normal file
View File

@@ -0,0 +1,12 @@
import none from "./none.js";
export default function(series) {
var sums = series.map(sum);
return none(series).sort(function(a, b) { return sums[a] - sums[b]; });
}
export function sum(series) {
var s = 0, i = -1, n = series.length, v;
while (++i < n) if (v = +series[i][1]) s += v;
return s;
}