svg_bar_chart
aggregate · LOAD svg_charts
svg_bar_chart(ANY, DOUBLE) -> VARCHARCollapses a group of rows into one bar chart.
SELECT svg_bar_chart(month, sales) FROM monthly_sales;Identical to svg_line_chart in every respect but the shape it draws: same arguments, same aggregate semantics, same options, and the same warning about input order.
border_radius in a per-series entry rounds the corners; stack_id makes bars sit on top of each other rather than beside each other.
Requires LOAD svg_charts.