@bunchmark/presentation
Advanced tools
Comparing version 1.0.0-pre-7 to 1.0.0-pre-9
{ | ||
"name": "@bunchmark/presentation", | ||
"version": "1.0.0-pre-7", | ||
"version": "1.0.0-pre-9", | ||
"description": "The Bunchmark data presentation utilities", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -0,4 +1,5 @@ | ||
export { getBins, getBounds, QNDMedian } from "./src/bins.js" | ||
export { makeHistograms } from "./src/histogram.js" | ||
export { getRanks } from "./src/race.js" | ||
export { prensentStats, scientific } from "./src/text.js" | ||
export { getRanks } from "./src/race.js" | ||
export { getBins, getBounds, QNDMedian } from "./src/bins.js" | ||
export { makeTimelines } from "./src/timeline.js" |
// Rudimentary visualisations for the Web | ||
import {scientific, getRanks, getBins} from "../presentation.js" | ||
export { makeHistograms } | ||
import { scientific, getRanks, getBins } from "../presentation.js" | ||
const {log: mlog, max: mmax} = Math | ||
export function histogram(entries, quantiles, _N, target) { | ||
function makeHistograms(entries, quantiles, _N, target) { | ||
const {min,max, N, bins, bounds} = getBins(entries, quantiles) | ||
@@ -7,0 +9,0 @@ const ranks = getRanks(quantiles) |
14610
357