create_cone_3d
Render a 3D vector field using cone arrows colored by magnitude, each cone positioned at anchor points and pointing along vector components. Useful for visualizing wind, fluid flow, magnetic fields, or gradient directions.
Instructions
Interactive 3D vector field / quiver plot (WebGL, orbit-able).
Renders a cone at each (x, y, z) anchor pointing along the vector (u, v, w) — a 3D arrow field of direction + magnitude. Cones are colored by vector magnitude and sized by sizeref. Distinct from the scalar 3D charts: a cone field encodes a vector (flow, gradient, force) at each sample point.
Ideal for: wind / air-flow fields, magnetic or electric fields, fluid-flow simulations, gradient directions across a 3D domain.
Returns: {filepath, title, rows}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Row dicts (one per vector sample) | |
| theme | No | 'dark', 'light', or 'professional' | dark |
| title | No | Chart title | |
| anchor | No | 'tail' (default), 'center', or 'tip' | tail |
| sizeref | No | Cone length scale factor | |
| filename | No | Output filename (without .html) | cone_3d |
| sizemode | No | 'scaled' (default) or 'absolute' | scaled |
| u_column | Yes | Column for the vector X component | |
| v_column | Yes | Column for the vector Y component | |
| w_column | Yes | Column for the vector Z component | |
| x_column | Yes | Column for the anchor X position | |
| y_column | Yes | Column for the anchor Y position | |
| z_column | Yes | Column for the anchor Z position (depth) | |
| colorscale | No | Plotly colorscale name for magnitude mapping | Viridis |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||