diff --git a/nextjs-app/components/compare/TrendsExplorer.module.css b/nextjs-app/components/compare/TrendsExplorer.module.css
index 61f17fa..7c74367 100644
--- a/nextjs-app/components/compare/TrendsExplorer.module.css
+++ b/nextjs-app/components/compare/TrendsExplorer.module.css
@@ -75,34 +75,3 @@
height: 360px;
}
}
-
-.tableWrapper {
- overflow-x: auto;
- margin-top: 1.5rem;
-}
-
-.table {
- width: 100%;
- border-collapse: collapse;
- font-size: 0.9rem;
-}
-
-.table th,
-.table td {
- text-align: left;
- padding: 0.6rem 0.75rem;
- border-bottom: 1px solid var(--border-light);
-}
-
-.table th {
- background: var(--bg-secondary);
- font-size: 0.8rem;
- text-transform: uppercase;
- letter-spacing: 0.03em;
- color: var(--text-secondary);
-}
-
-.yearCell {
- font-weight: 600;
- white-space: nowrap;
-}
diff --git a/nextjs-app/components/compare/TrendsExplorer.tsx b/nextjs-app/components/compare/TrendsExplorer.tsx
index 6cd5a6e..0a5f83e 100644
--- a/nextjs-app/components/compare/TrendsExplorer.tsx
+++ b/nextjs-app/components/compare/TrendsExplorer.tsx
@@ -1,19 +1,17 @@
/**
* Explore trends — the full grouped metric catalogue (nothing from the old
- * compare page is lost; spec §4's tier 3) driving the year-by-year chart
- * with its England reference line, plus the year-by-year table. Progress
- * metrics carry CI-based bands for the years DfE published them.
+ * compare page is lost; spec §4's tier 3) driving the year-by-year chart with
+ * its England reference line. Matches the mockup: a measure picker and the
+ * chart only (no data table).
*/
'use client';
import dynamic from 'next/dynamic';
-import { progressBand } from '@/lib/compareLogic';
import type { ComparisonData, MetricDefinition, NationalAverages, School } from '@/lib/types';
-import { formatAcademicYear, formatMetricValue, metricKind } from '@/lib/utils';
import { track } from '@/lib/analytics';
-import { Chip, Section, sectionStyles as s } from './sectionShared';
+import { Section } from './sectionShared';
import styles from './TrendsExplorer.module.css';
const ComparisonChart = dynamic(
@@ -40,14 +38,6 @@ const SECONDARY_OPTGROUPS: { label: string; category: string }[] = [
export const PRIMARY_CATEGORIES = PRIMARY_OPTGROUPS.map((g) => g.category);
export const SECONDARY_CATEGORIES = SECONDARY_OPTGROUPS.map((g) => g.category);
-const PROGRESS_CI: Record
| Year | - {schools.map((school) => ( -{school.school_name} | - ))} -|
|---|---|---|
| {formatAcademicYear(year)} | - {schools.map((school) => { - const row = data[String(school.urn)]?.yearly_data.find( - (d) => Math.trunc(d.year) === year, - ) as (Record– | ; - const band = ciKeys - ? progressBand( - value, - (row?.[ciKeys[0]] as number | null) ?? null, - (row?.[ciKeys[1]] as number | null) ?? null, - ) - : null; - return ( -
- {formatMetricValue(value, metricKind(metric))}{' '}
- {band && (
- |
- );
- })}
-