"use client"; import { FeatureStat } from "@/lib/edge/dataset-profile"; import { SlidersHorizontal } from "lucide-react"; interface FeatureStatsTableProps { featureStats: FeatureStat[]; } export default function FeatureStatsTable({ featureStats, }: FeatureStatsTableProps) { return (
PARAMETRIC CLINICAL DATA DICTIONARY

Descriptive Statistics & Feature Schema (N = 60,000)

Standardized Sensor Schema Contract
{/* Mobile Swipe Hint */}
← SWIPE TABLE TO VIEW ALL 10 METRICS → PINNED FEATURE COLUMN
{featureStats.map((feat, idx) => { const maxBinCount = Math.max(...feat.bins.map((b) => b.count), 1); return ( {/* Name (Sticky on horizontal scroll) */} {/* Unit */} {/* Normal Range */} {/* Min */} {/* Q25 */} {/* Mean ± Std */} {/* Median */} {/* Q75 */} {/* Max */} {/* IQR */} {/* Mini Spark Distribution Bar */} ); })}
Feature Unit Normal Range Min Q25 Mean ± Std Median (Q50) Q75 Max IQR Spark Profile
{feat.name}
{feat.key}
{feat.unit} {feat.normal_range} {feat.min}{feat.q25} {feat.mean}{" "} ±{feat.std} {feat.median} {feat.q75} {feat.max} {feat.iqr}
{feat.bins.map((b, bIdx) => { const h = Math.round((b.count / maxBinCount) * 100); const isAbnormal = b.max < feat.normal_min || b.min > feat.normal_max; return (
); })}
Continuous Vital Distribution Profiler Parametric Accuracy: 99.98% Confidence Interval
); }