Slope Chart
render_slope_chartRender a slope chart to show ranking changes between two periods. Lines connect start and end positions, highlighting relative movement.
Instructions
Render a slope chart - 'How did rankings change?' SVG lines connecting two time periods showing relative position changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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, office-red | |
| title | Yes | Chart title | |
| effects | No | Override effects: none, subtle, shimmer, neon, energetic | |
| palette | No | Override palette only (mix-and-match) | |
| periodEnd | Yes | Label for end period (e.g. '2025') | |
| typography | No | Override typography: professional, luxury, cyberpunk, editorial, mono, bold, system, techno | |
| periodStart | Yes | Label for start period (e.g. '2024') |