Skip to content

Commit 223002c

Browse files
authored
Add README for Quantum Metric Schema
1 parent f1e2c86 commit 223002c

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Quantum Metric Schema Tree
2+
3+
Interactive collapsible tree visualization of the BigQuery schema for `quantummetrics_prd.sessions_archive`.
4+
5+
## Usage
6+
7+
Open `quantum_metric_schema.html` directly in a browser (`file://` or served via HTTP). No build step required.
8+
9+
- **Click** a node to expand/collapse
10+
- **Scroll** to zoom
11+
- **Drag** to pan
12+
- **Right-click** to reset view
13+
14+
## Details
15+
16+
- 297 fields, max nesting depth 4
17+
- Built with [ECharts](https://echarts.apache.org/) (CDN)
18+
- Self-contained — schema data is embedded in the HTML
19+
20+
## Refreshing the Schema
21+
22+
1. Query BigQuery table metadata using the MCP BigQuery tool (`get_table_info`) or `bq show`.
23+
2. Transform fields into `{ name: "field_name (TYPE)", children: [...] }` format.
24+
3. Replace the `SCHEMA_DATA` constant in the HTML file.

0 commit comments

Comments
 (0)