GREENengagehttps://green-engage.deDesign

Charts

Chart components based on recharts.org

import { BarChart } from "@/ui/charts/bar-chart";
import { LineChart } from "@/ui/charts/line-chart";

const data = [
{ x: "Jan", y: 1 },
{ x: "Feb", y: 5 },
{ x: "Mar", y: 6 },
...
];

<LineChart data={data} className="mt-2 h-64 w-full" />
<BarChart
data={data}
className="mt-2 h-64 w-full"
fillColor="#ef4444"
axisTick
/>