About
A whole broken into parts, counted out in hexagonal cells.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Hex Chart to your project and fits it to your theme.
Code
How Hex Chart is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
'use client';
import { HexChart } from '@/components/ui/panel-hex-chart';
const SEATS = [
{ label: 'Engineering', value: 48 },
{ label: 'Sales', value: 26 },
{ label: 'Support', value: 14 },
{ label: 'Design', value: 12 },
];
export default function HexChartGrid() {
return (
<HexChart data={SEATS} shape="grid" columns={14} aspectRatio={2} className="w-full max-w-lg">
<HexChart.Cells />
<HexChart.Tooltip showCells formatValue={(value) => `${value} seats`} />
<HexChart.Legend />
</HexChart>
);
}








