import { Box, Card, Group, Stack, Text, Title, useMantineColorScheme, } from "@mantine/core"; import { Cell, Pie, PieChart, ResponsiveContainer, Tooltip } from "recharts"; const satisfactionData = [ { name: "Sangat Puas", value: 25, color: "#4E5BA6" }, { name: "Puas", value: 25, color: "#F4C542" }, { name: "Cukup", value: 25, color: "#8CC63F" }, { name: "Kurang", value: 25, color: "#E57373" }, ]; export function SatisfactionChart() { const { colorScheme } = useMantineColorScheme(); const dark = colorScheme === "dark"; return ( Tingkat Kepuasan Tingkat kepuasan layanan {satisfactionData.map((entry, index) => ( ))} {satisfactionData.map((item, index) => ( {item.name} ))} ); }