← Files DataARCHIVED FILE
output_formats/html/src/charting/shared/core/chart-capabilities.js
1.08 KB · Dec 5, 2026 · 00:27 UTC
// Generated by scripts/sync-chart-semantics.mjs from skills/visualize-data/src/core/chart-capabilities.js.
// Edit the canonical source and regenerate; do not edit this distribution copy.
/** The shared chart families available to both inline and artifact consumers. */
export const chartFamilies = [
{ name: "line", types: ["line"] },
{ name: "area", types: ["area", "stackedArea"] },
{
name: "bar",
types: [
"bar",
"horizontalBar",
"stackedBar",
"stackedBar100",
"horizontalStackedBar",
"horizontalStackedBar100",
],
},
{ name: "histogram", types: ["histogram"] },
{ name: "scatter", types: ["scatter"] },
{ name: "heatmap", types: ["heatmap"] },
{ name: "pie", types: ["pie"] },
{ name: "ranking", types: ["leaderboard", "rankedList"] },
{ name: "sparkline", types: ["sparkline"] },
{ name: "funnel", types: ["funnel"] },
{ name: "waterfall", types: ["waterfall"] },
{ name: "box-plot", types: ["boxPlot"] },
{ name: "sankey", types: ["sankey"] },
];
export const chartTypes = chartFamilies.flatMap(({ types }) => types);
SHA-256: 58c28d6c347d1c983046315d053e3b57248e0b17026bd525115ba470a660d8dc