render_slope_chart
Visualize ranking changes between two time periods using SVG slope charts to show relative position shifts.
Instructions
Render a slope chart - 'How did rankings change?' SVG lines connecting two time periods showing relative position changes.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Chart title | |
| periodStart | Yes | Label for start period (e.g. '2024') | |
| periodEnd | Yes | Label for end period (e.g. '2025') | |
| data | Yes | Array of {label, start, end} items | |
| theme | No | Theme preset: boardroom, corporate, sales-floor, golden-treasury, clinical, startup, ops-control, tokyo-midnight, zen-garden, consultant, black-tron, black-elegance, black-matrix, forest-amber, forest-earth, sky-light, sky-ocean, sky-twilight, gray-hf, gray-copilot | |
| palette | No | Override palette only (mix-and-match) | |
| typography | No | Override typography: professional, luxury, cyberpunk, editorial, mono, bold, system, techno | |
| effects | No | Override effects: none, subtle, shimmer, neon, energetic |