import { ScatterChart, Scatter, XAxis, YAxis, Tooltip, CartesianGrid, } from 'recharts'; import { ChartContainer, ChartTooltip, ChartTooltipContent, } from '@/components/ui/chart'; type Point = { commune: string; taux: number; volume: number }; export default function ScatterPlot({ data }: { data: Point[] }) { const config = { Communes: { label: 'Communes', color: '#0B5FFF' }, } as const; console.log(data); return ( } /> ); }