{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "treemap-chart",
  "title": "트리맵",
  "description": "전체에서 각 항목이 차지하는 비중",
  "type": "registry:component",
  "dependencies": [],
  "registryDependencies": [
    "@quant/quant-chart-runtime"
  ],
  "files": [
    {
      "path": "registry/quant/treemap-chart.tsx",
      "target": "components/quant/treemap-chart.tsx",
      "type": "registry:component",
      "content": "\"use client\";\n\nimport {ChartPanel} from \"./chart-panel\";\nimport type {Chart} from \"./chart-types\";\n\nconst example = {\n  \"kind\": \"treemap\",\n  \"title\": \"구성 비중\",\n  \"unit\": \"%\",\n  \"rows\": [\n    {\n      \"name\": \"ALFA\",\n      \"value\": 25\n    },\n    {\n      \"name\": \"BETA\",\n      \"value\": 22\n    },\n    {\n      \"name\": \"GAMA\",\n      \"value\": 18\n    },\n    {\n      \"name\": \"DLTA\",\n      \"value\": 14\n    },\n    {\n      \"name\": \"EPSI\",\n      \"value\": 12\n    },\n    {\n      \"name\": \"현금\",\n      \"value\": 9\n    }\n  ]\n} satisfies Chart;\n\nexport function Example() {\n  return <ChartPanel spec={example} />;\n}\n"
    }
  ]
}
