// readme

Anofox Visualization - DuckDB Extension

Charts & dashboards for DuckDB — the grammar of graphics, straight from SQL. You write ordinary DuckDB SQL and tag output columns with ::ROLE casts; each annotated SELECT becomes a panel (chart / KPI / table / input), rendered to SVG by ggplot-rs, a grammar-of-graphics engine. No JS charting library, no bespoke config — the SQL is the dashboard.

[!IMPORTANT] This extension is in early development, so bugs and breaking changes are expected. Please use the issues page to report bugs or request features.

LOAD anofox_visualization;

-- Convenience macros: pass columns, get one SVG per group.
WITH sales AS (SELECT * FROM (VALUES ('app',30),('web',22),('api',12)) t(ch,n))
SELECT anofox_bar(ch, n) FROM sales;                 -- <svg> bar chart

▶ Live demo — the full builder running in your browser on DuckDB-Wasm. Its sidebar keeps your own dashboards first, then one Examples library grouped by business area (start here, demand & stock, logistics & production,…