import { ScatterChart, Scatter, XAxis, YAxis, Tooltip, CartesianGrid, ResponsiveContainer } from 'recharts'; type Point = { commune: string; taux: number; volume: number }; export default function ScatterPlot({ data }: { data: Point[] }) { return ( (typeof v === 'number' ? new Intl.NumberFormat('fr-FR').format(v) : v)} /> ); }