create_line_3d
Plot 3D trajectories from tabular data, connecting points in space with optional color-coded categories. Ideal for visualizing routes, geographic paths, or multi-dimensional trends.
Instructions
Interactive 3D line / trajectory chart (WebGL, orbit-able).
Connects points through 3-space — a trajectory. Split into one line per category via color_column.
Ideal for: a route through lat/lon/altitude, a metric evolving across region × time, multi-decade demographic trajectories.
Returns: {filepath, title, rows}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Row dicts | |
| theme | No | 'dark', 'light', or 'infographic' | dark |
| title | No | Chart title | |
| filename | No | Output filename (without .html) | line_3d |
| x_column | Yes | Column for the X axis | |
| y_column | Yes | Column for the Y axis | |
| z_column | Yes | Column for the Z axis (depth) | |
| color_column | No | Optional column splitting points into separate lines |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||