{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "donut-chart",
  "title": "도넛 차트",
  "description": "합계에서 범주의 상대 비중",
  "type": "registry:component",
  "dependencies": [],
  "registryDependencies": [
    "@quant/quant-chart-runtime"
  ],
  "files": [
    {
      "path": "registry/quant/donut-chart.tsx",
      "target": "components/quant/donut-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\": \"donut\",\n  \"title\": \"계좌 자산 구성\",\n  \"unit\": \"만원\",\n  \"rows\": [\n    {\n      \"name\": \"국내 주식\",\n      \"value\": 34\n    },\n    {\n      \"name\": \"미국 ETF\",\n      \"value\": 42\n    },\n    {\n      \"name\": \"USD 현금\",\n      \"value\": 12\n    },\n    {\n      \"name\": \"KRW 현금\",\n      \"value\": 12\n    }\n  ]\n} satisfies Chart;\n\nexport function Example() {\n  return <ChartPanel spec={example} />;\n}\n"
    }
  ]
}
