Charts & visualizations

Likeable ships a broad chart library. Every chart accepts a bindKey, so it renders live data from a dataset — see Connecting data. Pick by the shape of your data and the story you're telling.

The catalog

BrickUse it for
BarChartComparing categories
LineChartTrends over a sequence
AreaChartTrends with magnitude / volume
PieChartParts of a whole
ScatterChartCorrelation between two values
StatCardA single KPI with delta / trend
DataGridLarge, sortable / filterable tables (ag-Grid)
DataTableECSVery large tables (tens of thousands of rows; virtualized)
TimeSeriesFast metric time-series, many points (uPlot) — real-time
PriceChartFinancial candles + volume (OHLC)
CandlestickChartSimple OHLC candles
GaugeA value within a range
HeatmapIntensity across a matrix
RadarChartMulti-axis comparison
FunnelChartStage-to-stage conversion
SankeyChartFlows between nodes
TreemapChartHierarchical proportions
EChartAnything else — a raw ECharts option (escape hatch)

Binding to data

  1. Create a dataset — an ApiData or SqlData brick writing to a key, e.g. sales.
  2. Set the chart's bindKey to that key.
  3. The chart re-renders whenever the data updates — including on auto-refresh.

Charts expect arrays like [{ label, value }] (bar / line / pie) or a time-series shape. If your data doesn't match, reshape it with a mortar transform — see Connecting data.

Real-time

For streaming or auto-refreshing metrics, prefer TimeSeries (handles tens of thousands of points) or PriceChart for finance. Pair it with a dataset that refreshes on an interval.

Not sure which chart? Describe the data and the question — "revenue by month, last 12 months" — and the agent picks one. Swap it later with "make this a bar chart".

Next steps