Technical perspective
Engineering analytics as a reproducible system.
I built and validated a modular workflow from transactional extraction to modeled sales metrics, automated quality gates, a published dashboard and a dbt-derived lineage viewer.
System architecture
- 01Transactional sourceAdventureWorks 2022 · SQL Server
- 02Repeatable extractionRead-only Python extraction · Parquet snapshots
- 03Analytical modelingDuckDB · dbt staging, dimensions, facts and marts
- 04Quality gatesIndependent reconciliation · automated tests
- 05PublicationReviewed financial aggregate · separately approved lineage metadata · Next.js
Historical extraction validation
Evidence at the source boundary.
Historical extraction baseline; these are not current dashboard filter totals.
01 / Architecture
Design around explicit boundaries
I separated source extraction, analytical modeling, validation and publication so each stage could be inspected independently. SQL Server supplies the historical fictional source; the deployed Next.js application consumes a reviewed aggregate rather than hosting the pipeline.
Read architecture and project overview02 / Extraction
Capture a traceable snapshot
Read-only Python extraction from nine contracted AdventureWorks tables produces local Parquet snapshots and manifests. Validation checks source relationships and recorded totals before the analytical layer consumes a snapshot.
Read extraction and snapshot documentation03 / Modeling
Make metric definitions explicit
The real-source dbt implementation contains 23 models across staging, six dimensions, two facts and six sales marts. Its metric contracts distinguish shipped-order eligibility, monetary precision and non-additive product/category order counts.
Read dimensional modeling documentation04 / Quality
Test the data, not only the code
A transformation can execute without producing correct business results. I combined dbt model checks with independent Python reconciliation against Parquet inputs, and used regression and deliberate corruption tests to exercise selected failure paths.
Read quality and reconciliation documentation05 / Publication
Publish a reviewed artifact, not a live database
The public dashboard uses a pinned AdventureWorks 2022-derived aggregate with fail-closed source validation. SQL Server backups, raw snapshots and DuckDB databases are not deployed. The dashboard is a historical snapshot, not a live reporting service.
Read dashboard publication documentation06 / Lineage
Inspect a focused dependency graph
The lineage viewer follows mart_sales_summary through six dbt models, two sources and nine direct dependencies. Edges come from dbt model/source dependencies, not inferred SQL joins or test relationships. A custom React Flow desktop graph supports selection and All, Upstream or Downstream highlighting. A native node selector replaces the graph on mobile; an independent keyboard-accessible node list remains available on desktop if the graph fails. Selection and highlighting use shareable URL state with browser Back and Forward support.
Read the lineage implementation and safeguards07 / Reproduction
Make the work inspectable
The reproduction guide separates running the dashboard locally from reproducing the full-source pipeline. It documents prerequisites, commands, validation and limitations. Full-source reproduction requires Microsoft's sample database and validated local snapshots. A fresh full-source run is separate from this documentation.
Read the reproducibility guide08 / Limitations
Be precise about what is proven
The dataset describes a fictional business. The project is not a production benchmark, an ROI study, or a demonstration of live ingestion. The reviewed aggregate has a conditional redistribution assessment; asset-specific licensing certainty is not claimed.
Read data provenance and redistribution policyReview what reaches the public application.
The dashboard and lineage viewer use separately reviewed publication artifacts. Lineage contains only a limited, approved subset of dbt metadata. Schema, integrity and approval checks reject unapproved metadata at build time and runtime, with no fallback to sample metadata.
The public application excludes raw SQL, full dbt manifests, raw records and analytical databases. The lineage snapshot is historical. Refresh requires a new review; the application does not refresh it continuously or execute dbt.
Explore the lineage viewer Review metadata approval and packaging safeguardsPublished artifact
Inspect the final reporting output.
The captured Sales Trends view illustrates how the validated, precomputed sales metrics are presented. This is historical sample data, not a live-ingestion demonstration.

See the published result.
Explore historical AdventureWorks sales metrics with documented definitions and sample-data provenance.
Open the interactive dashboard