JavaScript data visualization library for creating interactive charts, graphs, and scientific visualizations
81
Build reusable visual themes for interactive figures by extracting defaults from one chart and reapplying them to others.
@generates
export type PlotFigure = {
data: any[];
layout?: Record<string, any>;
config?: Record<string, any>;
};
export type Template = Record<string, any>;
export function buildTemplate(baseFigure: PlotFigure): Template;
export function applyTemplate(template: Template, targetFigure: PlotFigure): PlotFigure;
export function mergeTemplate(template: Template, overrides: Partial<PlotFigure>): PlotFigure;Interactive charting library with template extraction, validation, and rendering support.
Install with Tessl CLI
npx tessl i tessl/npm-plotly-js-distdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10