Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
import { Treemap, type TreeNode } from "@/components/bjork-ui/charts/treemap"const portfolio: TreeNode = { id: "root", label: "Portfolio", children: [ { id: "tech", label: "Technology", children: [ { id: "aapl", label: "Apple", value: 420000, change: 0.012 }, { id: "msft", label: "Microsoft", value: 380000, change: 0.008 }, { id: "nvda", label: "NVIDIA", value: 265000, change: 0.031 }, { id: "intc", label: "Intel", value: 60000, change: -0.021 }, ], }, { id: "fin", label: "Financials", children: [ { id: "jpm", label: "JPMorgan", value: 210000, change: -0.006 }, { id: "gs", label: "Goldman", value: 120000, change: 0.004 }, { id: "v", label: "Visa", value: 150000, change: 0.009 }, ], }, { id: "health", label: "Healthcare", children: [ { id: "jnj", label: "J&J", value: 180000, change: -0.003 }, { id: "unh", label: "UnitedHealth", value: 160000, change: 0.017 }, ], }, { id: "energy", label: "Energy", children: [ { id: "xom", label: "Exxon", value: 140000, change: -0.014 }, { id: "cvx", label: "Chevron", value: 90000, change: -0.009 }, ], }, ],}export default function TreemapDemo() { return <Treemap data={portfolio} height={420} ariaLabel="Portfolio treemap" className="w-full" />}