charts-histogram · charts/HistogramChart
Props
binCountthresholdsvalues
Live example loads in an isolated same-origin preview frame.
Source (charts-histogram/entry.ts)
import { defineExample } from '../registry.ts';
export const chartsHistogramExample = defineExample({
id: 'charts-histogram',
title: 'Histogram chart',
description:
'A fictional response-time distribution uses math-backed bins, theme tokens and a data table fallback.',
tags: ['charts', 'histogram', 'statistical', 'accessibility'],
component: 'charts/HistogramChart',
props: ['values', 'thresholds', 'binCount'],
load: () => import('./HistogramChartDemo.svelte'),
});