Skip to main content

Stacked Bar Chart

Type: stacked-bar-chart

Stacked bar chart driven by DuckDB SQL query.

Supports children: No

A stacked bar chart powered by DuckDB SQL. Query should return label, series, and value.

Example

{
"type": "stacked-bar-chart",
"props": {
"sql": "SELECT quarter AS label, revenue AS value, region AS series FROM {{sales}} ORDER BY 1",
"title": "Revenue by Region"
}
}

Every widget is defined as { "type": "stacked-bar-chart", "props": { ... } }. The properties below describe the props object.

Props

Loading ....

Raw schema

Download the full schema file: /widget-schema/stacked-bar-chart.json