Factweavers
An analytics platform where you query data in plain English and inspect the SQL lineage behind every number.
Factweavers began as a one-month engagement to build a themeable chart component library for DBiz’s enterprise analytics platform, after the team saw a series of data-visualization studies I had published on Dribbble. That engagement expanded into an eight-month full-platform rebuild where I led the product design team and wrote front-end code alongside engineering.

When I joined the project, the existing application exposed raw database tables directly to end users. Building a metric or assembling a dashboard required manual SQL joins across unannotated columns: data analysts spent hours stitching queries together, non-technical managers abandoned the flow mid-way, and executives waited days for someone to send them a static chart.
We benchmarked Tableau, Domo, Kyligence, Sigma, and PowerBI to measure where setup time was spent. Across all five platforms, moving from a newly connected warehouse table to a published executive dashboard took days to weeks depending on schema cleanliness and analyst availability.
Our goal was to compress that workflow to under 30 minutes using conversational AI, while ensuring users could inspect the exact SQL query and source tables behind every generated number.
Five participants, two workspaces, and Schema Onboarding
We mapped the analytics workflow across five actors: the data analyst, the product manager, the executive, the data administrator, and the AI assistant. Modelling the AI assistant as an explicit participant defined its interface contract early: every response had to expose the SQL expression it generated, the source tables it queried, and any parts of the user’s question that could not be computed from the available schema.


Rather than building five separate navigation trees, we grouped users into two primary operating modes and isolated database preparation into an administration track:
- Explorers (Analysts and Product Managers): Author metrics, test hypotheses, and assemble dashboards.
- Navigators (Executives and Team Leads): Monitor governed KPIs, review anomaly alerts, and ask follow-up questions in plain English.
- Schema Onboarding (Data Administrators): Connect data warehouses, map foreign-key relationships, and annotate cryptic column names with plain-language descriptions before business users ever log in.

Moving schema configuration into its own administrative prerequisite simplified the daily product flow to three steps: select business context, ask or build metrics, and publish dashboards.
Four-step metric builder and lineage cards
I designed the manual four-step metric editor before designing the AI generation flow. For an analyst to trust an AI-drafted metric, that metric has to open inside a deterministic editor where every table join, filter, and formula can be inspected and modified by hand.
Creating or editing a metric follows four steps:
- Entity selection: Choose the governed domain entity or table from the workspace catalog.
- Calculation: Write or assemble the formula in an expression editor that validates syntax as you type and previews computed values against live sample rows.
- Dimensions: Attach time grains, geographic splits, and categorical breakdowns.
- Display format: Configure units, decimal precision, and trend comparisons alongside a live preview of the rendered KPI card.


Two safeguards prevent catalog sprawl as teams scale:
- Pre-publish duplicate detection: Before saving a new metric, the sidebar scans existing formulas and titles in the workspace and flags near-matches, prompting analysts to reuse a verified company KPI rather than publishing a redundant copy.
- Hover lineage cards: Every published metric displays a lineage popover on hover showing its source tables, upstream metric dependencies, full SQL or formula expression, owner, and last refresh timestamp.


Direct-manipulation dashboard canvas
Once metrics are published to the catalog, authors assemble dashboards on a 12-column drag-and-drop grid. Analysts drag governed metrics from the left rail onto the canvas, resize or lock cards, and wire cross-filtering controls (date ranges, region selectors, parameter toggles) in the top toolbar. Hovering any metric in the catalog rail reveals its full lineage card before you drop it onto the board.

Inside the chart inspector, manual configuration and AI chart recommendations share the same control panel. Users can bind axes and aggregations manually, or ask the AI to recommend a chart type and then adjust scales or encodings without regenerating the underlying query.


When a dashboard is ready for distribution, authors apply a customer brand theme in one click, configure role-based view or edit permissions, and schedule recurring snapshot deliveries.

Consolidating four AI tools into Universal AI
In our first prototype, AI assistance was split across four module-specific drawers: one to draft a metric, one to layout a dashboard, one to query a single metric, and one to summarize an existing board.
Usability testing with data scientists, directors, and early customers exposed an immediate workflow problem. A user would ask a question about a metric, receive a useful breakdown, and want to turn that breakdown into a chart, pull in two related metrics from an earlier thread, and place all three on a new dashboard. Splitting the AI across four separate modules forced users to copy context between tabs manually.
We replaced all four drawers with Universal AI and made it the default entry point of the application.
Opening Factweavers lands you on a single conversational canvas with persistent session memory, cross-thread search, and direct access to the governed metric catalog. From one prompt bar, users can ask ad-hoc data questions, generate standalone charts, or scaffold a multi-card dashboard. Any chart generated in the chat can be pinned directly to a dashboard, and any AI-drafted metric opens inside the four-step manual editor.
During implementation, engineering initially proposed returning only the final number and rendered chart to reduce streaming payload complexity. I pushed to keep the full explainability drawer in every response: confidence badges, clickable source-table pills, and an expandable view of the exact SQL formula and filters executed. When finance leads cannot inspect how a figure was computed, they export the table to Excel and recalculate it by hand.

The Insights Hub
For executives and operational leads who consume metrics rather than authoring them, the Insights Hub provides a scannable daily feed of pinned KPIs and dashboards. Each card pairs its headline number with a plain-English summary of recent movement. When a metric crosses an anomaly threshold, the card flags the spike inline; clicking the alert opens the Universal AI drawer pre-loaded with that metric’s lineage so the user can ask follow-up questions immediately.

Three-layer token architecture for white-label charts
Because enterprise customers embed Factweavers dashboards inside their own products, the design system separates color tokens into three independent layers:
- Application chrome: Semantic tokens for navigation rails, editors, modals, and tables across light and dark modes.
- Dashboard brand themes: Surface, border, and typography tokens that allow customers to skin published dashboards to match their corporate brand without altering the surrounding application UI.
- Data-visualization palettes: Categorical, sequential, and diverging chart scales engineered to maintain contrast across any underlying brand theme.

We started the color system with an audit of the legacy codebase. Counting every hardcoded hex value across the old chart components revealed six nearly identical shades of red with no semantic naming to distinguish a negative trend from a critical alert or a third categorical series.

Before selecting new swatches, we defined strict perceptual rules in the OKLCH color space:
- Categorical palettes vary in both hue and perceptual lightness so adjacent bars remain distinguishable to color-blind readers by luminance alone.
- Sequential scales step uniformly in lightness to represent magnitude.
- Diverging scales pass through a neutral midpoint to show positive and negative variance.
- Dense heatmaps use perceptually uniform
viridisandmagmaramps so extreme values stay legible on both light and dark surfaces.

The shipped token system scales from 1 to 30 distinct categorical series across every customer brand theme. Switching a dashboard between light mode and a custom dark brand theme automatically remaps every chart series to preserve contrast and hierarchy.

In comparative usability trials against PowerBI and Tableau Pulse with first-time users, the rebuilt workflow and visible query lineage produced clear gains:
Four out of five trial participants reported that they trusted an AI-generated metric once they opened the explainability drawer and verified the underlying source tables and SQL formula.