UNPKG

agentscape

Version:

Agentscape is a library for creating agent-based simulations. It provides a simple API for defining agents and their behavior, and for defining the environment in which the agents interact. Agentscape is designed to be flexible and extensible, allowing

17 lines (16 loc) 368 B
export interface HistogramConstructor { root: HTMLElement; axisLabels?: { x: string; y: string; }; title?: string; width?: number; } export default class Histogram { private chart; private width; constructor(opts: HistogramConstructor); applyData(data: number[], binSize: number): void; private calculateBins; }