build_visualization
Generate a self-contained animated HTML page from Trackman golf data, displaying shot flight, swing metrics, and practice drills for coaching diagnosis.
Instructions
Render a coaching diagnosis into a self-contained animated HTML page.
Returns {html} — one standalone document (inline canvas/JS, no network, no
external resources) ready to drop straight into a Claude HTML artifact.
data shape (all optional; the viz adapts): {title, subtitle, diagnosis,
handedness "RH"|"LH", shots:[{launchDirection,launchAngle,carry,total,
totalSide,curve,maxHeight,landingAngle,hangTime}],
swing:{clubPath,faceAngle,faceToPath}, targets:[{label,value,target,low,
high,met}], blocks:[{name,detail,goal,where "range"|"home",
links:[{label,url}]}]}. Renders the measured flight (side view + top-down,
animated) and drills grouped range/home. See the trackman-visualizer prompt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||