"use client"; import { motion } from "framer-motion"; import { LineChart, Line, XAxis, YAxis, CartesianGrid, Tooltip, ReferenceLine, ResponsiveContainer, Area, AreaChart, } from "recharts"; interface TrendChartProps { scores: number[]; height?: number; } export default function TrendChart({ scores, height = 280 }: TrendChartProps) { const data = scores.map((score, i) => ({ review: `#${i + 1}`, score, })); return (

Health Score Trend

{scores.length} reviews
); }