import type React from 'react' import { Link } from '@tanstack/react-router' interface HorizontalBarsRow { label: string count: number href?: string } interface HorizontalBarsProps { rows: HorizontalBarsRow[] max: number } export function HorizontalBars({ rows, max }: HorizontalBarsProps): React.JSX.Element { const safeMax = max > 0 ? max : 1 return (