Radar Chart 3D
Signature
sp.radar3d(title, axes=None, series=None, series_names=None, *, variant="basic", orientation3d="iso", scene="default", theme="none", zone=None, max_points=None, bg_color="#1a1a2e", width=900, height=560, x_label="", y_label="", z_label="", **kwargs) -> Chart
Aliases: sp.build_radar3d_chart(), sp.radar_3d(), sp.radar3d_chart(), sp.radar3d_family().
Description
sp.radar3d() is the 3D twin of sp.radar(): selected with the same variant keyword and fed with the same series. basic/lines/filled/markers/dashed each become a closed loop around the axes, one per series at its own depth row, radius following its values, carrying the same fill/stroke/marker treatment as their 2D sibling — a real spider shape, not a flat outline. polar_bar/petal/band/stacked keep their existing ring-of-columns forms, one concentric ring per series.
Variants
| Variant | Aliases | Uses | 3D form |
|---|---|---|---|
basic | default, classic | axes, series, series_names | One closed loop per series, filled and outlined, with small vertex markers, radius following its values around the axes. |
lines | outline, stroke, no_fill | axes, series, series_names | The same loop with no fill, just its own stroke and small vertex markers — matching the 2D chart’s outline-only look. |
filled | fill, solid, area | axes, series, series_names | The same loop with a heavier fill and no stroke or vertex markers — matching the 2D chart’s solid filled-area look. |
markers | dots, points, marker | axes, series, series_names | The same loop with a thinner, faded stroke and large outlined vertex markers — matching the 2D chart’s per-vertex marker look. |
dashed | dash, dotted | axes, series, series_names | The same loop with a dashed stroke and small vertex markers — matching the 2D chart’s dashed-outline look. |
stacked | stack, cumulative | axes, series, series_names | A closed loop per series at a cumulative radius shared across all series — each loop’s radius is its own values plus every series before it, so later series nest around earlier ones, matching the 2D chart’s stacked-area look. |
polar_bar | polar, bar, radial_bar | axes, series, series_names | A real pie-wedge per series within each axis’s sector, evenly subdivided side by side, radius following its values — matching the 2D chart’s radial bars. |
band | range, uncertainty, minmax | axes, series, series_names | A single ribbon-shaped loop per group, tracing the high values forward around the axes and the low values back — matching the 2D chart’s filled range band. |
petal | flower, bloom, petal_diagram, nightingale_petal | axes, series, series_names | A wide wedge per series within each axis’s sector, nested rather than subdivided and narrowing slightly for later series — matching the 2D chart’s layered petal look. |
Data
axes names each spoke, series gives one row of values per series (one entry per axis) and series_names names each series.
3D planes
The viewpoint is independent from the variant: orientation3d picks the initial camera plane and applies to every variant; the view always stays draggable.
orientation3d="iso" — Isometric three-quarter view (default).orientation3d="horizontal" — Side-on view, almost at floor level.orientation3d="vertical" — Top-down view from above.orientation3d="front" — Front elevation, nearly flat.3D scenes
scene swaps the environment the columns are drawn in and applies to every variant and every plane.
scene="default" — Each series keeps its own categorical palette color, rendered as shaded 3D bars on a flat grid.scene="terrain" — The data is resampled onto a dense grid and rendered as hundreds of thin colormap-colored columns, forming a continuous mountain-of-bars terrain.scene="tower" — The data is resampled onto a dense field of round skyscraper-like towers instead of boxes, for a city-skyline reading of magnitude.scene="radial" — The data is resampled onto a dense polar grid of rings and wedges radiating from the center, like a 3D radar/sonar sweep of the value field.scene="podium" — The data is resampled onto a dense grid and quantized into stepped terrace levels, like a rice-terrace contour map, to read value bands at a glance.Themes
theme restyles the whole canvas (colour grade and glow) and applies to every variant, scene and plane.
theme="deluxe"theme="prism"theme="aurora"theme="inferno"theme="frost"theme="glow"theme="glass"theme="neon"theme="cosmic"Auto-scaling zone
The 3D zone (floor, walls, axes and camera) scales to the elements: its length, width and height follow the extents of the drawn blocks, a minimum floor depth keeps single rows readable, wide scenes are drawn flatter and the camera frames the whole box. The axis ticks read the real data range. Pass zone=[x, y, z] to force the proportions of the box instead; the longest side is normalised to 1.
Parameters
Returns
Chart object with an .html property and a .show() method.