Generate a KX Dashboards PieJS component: pie or donut chart of proportional segments (key=PieJS, definitionId=1009). Use for: pie chart, donut chart, doughnut, share-of-total, proportional segments, percentage breakdown, part-to-whole, categorical composition, market share, portfolio allocation. DataSet.Label is the categorical column and DataSet.Layers[n].Segment is the numeric value column; DonutRatio > 0 makes it a donut. Use kx-chartgl for line/bar/area charts and kx-gauge for KPI-style gauges. Also read kx-dashboard-core for envelope, data sources, ViewState, and the agent checklist.
$npx -y skills add kxsystems/kx-skills --skill kx-pieInstalls into the current project.
Run `npx skills use "https://github.com/kxsystems/kx-skills" --skill "kxsystems/kx-skills/kx-pie"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/kxsystems/kx-skills" that are relevant to the current task. Run `npx skills add "https://github.com/kxsystems/kx-skills"` and select the relevant skills, then follow their instructions.