Space-Time Cube
A 3D visualization where the X-Y plane represents geographic space and the vertical Z-axis represents time — events and trajectories are plotted as points or paths within the cube, revealing spatiotemporal patterns at a glance.
// 01 — The chart
What it looks like
A space-time cube showing three taxi trajectories over 24 hours. The base plane is geographic space; each path rises vertically through time, revealing when and where vehicles converge.
// 02 — Definition
What is a space-time cube?
A space-time cube (STC) is a three-dimensional visualization framework where the horizontal X-Y plane represents geographic space (longitude and latitude) and the vertical Z-axis represents time. Every event, observation, or movement is plotted at its spatial coordinates and its moment in time, producing a volumetric view of spatiotemporal data.
The concept originates from time geography, introduced by Swedish geographer Torsten Hägerstrand in 1970. Hägerstrand proposed the “space-time path” — an individual’s trajectory through the cube — as a way to study human activity patterns, constraints on movement, and interactions between people in shared space and time.
In a space-time cube, a stationary object appears as a vertical line (it moves through time but not space), while a moving object traces a diagonal or curved path. Convergence of multiple paths at the same point reveals co-location events — times and places where entities meet.
Origin: Torsten Hägerstrand introduced the space-time cube in 1970 as part of his time-geography framework at Lund University, Sweden. It was one of the first formal methods for visualizing human mobility and has since been adopted across transportation, ecology, criminology, and epidemiology.
// 03 — Anatomy
Parts of a space-time cube
// 04 — Usage
When to use it — and when not to
- You need to visualize movement trajectories that unfold over time and across geography
- Your data contains spatiotemporal events with precise timestamps and locations
- You want to reveal convergence — when and where multiple entities meet in space and time
- Exploring patterns in mobility data (commuting, migration, animal tracking)
- You need to show both the spatial shape and temporal rhythm of activity simultaneously
- Comparing daily, weekly, or seasonal movement patterns across a region
- Your audience is unfamiliar with 3D visualization — the learning curve is steep
- You have too many trajectories — the cube becomes cluttered and unreadable
- Your data lacks a temporal dimension — use a standard map instead
- You need precise value reading — 3D perspective distorts distances and positions
- A simple animated map or small multiples can communicate the same pattern more clearly
- Your data covers a very short time span where the vertical axis adds no insight
// 05 — Reading guide
How to read a space-time cube
Follow these steps whenever you encounter a space-time cube in the wild.
Orient yourself: identify the three axes
The horizontal plane is geography (X = longitude, Y = latitude). The vertical axis is time. Understanding this mapping is essential before interpreting any data inside the cube.
Read the time axis scale and direction
Time typically flows upward — the bottom of the cube is the earliest moment and the top is the latest. Check the labels to know the time range (hours, days, months) and interval.
Trace individual paths
Each trajectory is a space-time path. A steep, near-vertical path means the entity is stationary (time passes but location doesn’t change). A shallow, diagonal path means rapid movement across space.
Look for convergence and divergence
When multiple paths meet at the same point inside the cube, entities are co-located in both space and time. Diverging paths indicate entities separating. These intersections often encode the most important story.
Slice horizontally to see snapshots
Mentally (or interactively) cutting the cube with a horizontal plane at a given time stamp produces a map of where all entities are at that moment — a powerful way to analyze cross-sections.
// 06 — Pitfalls
Common mistakes
×Overcrowding the cube with too many trajectories
Fix: Limit the number of paths displayed at once. Use filtering, clustering, or focus+context techniques to highlight a subset while dimming the rest. Interactive exploration helps manage complexity.
×Using a fixed viewpoint that causes occlusion
Fix: 3D cubes suffer from hidden data behind other elements. Provide interactive rotation or show multiple complementary 2D projections (spatial footprint, timeline, space-time path) alongside the cube.
×Neglecting the time axis scale
Fix: If the time axis is compressed or stretched disproportionately to the spatial axes, path angles become misleading. Document the scale and aspect ratio clearly.
×Ignoring the 3D learning curve
Fix: Most audiences struggle with 3D. Provide annotations, guided views, or an accompanying 2D animation. Never assume the cube is self-explanatory.
×Missing the base map context
Fix: Without geographic reference (roads, boundaries, landmarks) on the base plane, viewers cannot anchor the spatial data. Always include a simplified base map.
// 07 — In the wild
Real-world examples
Urban transportation analysis
Cities use space-time cubes to study taxi, bus, and ride-share trajectories. Patterns of morning rush convergence toward business districts and evening dispersal to residential areas become clearly visible as funnel shapes in the cube.
Animal movement ecology
Ecologists plot GPS-tagged animal tracks through space-time cubes to study foraging behavior, migration corridors, and territorial patterns. Vertical clustering reveals resting periods; diagonal sweeps show migration legs.
Crime pattern analysis
Law enforcement analysts use space-time cubes to detect spatiotemporal crime hot spots. Vertical streaks indicate persistent problem locations; clusters at specific time-height combinations reveal weekly patterns like weekend nightlife crime.
// 08 — Quick reference
Key facts
// 09 — Variations
Types of space-time cubes
The space-time cube concept extends into several specialized forms depending on the data and analytical goals.
Trajectory cube
Focuses on continuous movement paths (GPS tracks). Each path is a smooth curve rising through the cube, ideal for transportation and animal tracking studies.
Event cube
Displays discrete events as individual points rather than connected paths. Used for crime mapping, earthquake catalogs, and disease outbreak data.
Voxel cube (binned)
Divides the cube into 3D grid cells (voxels), each colored by event density. Useful when individual trajectories are too numerous to show distinctly.
Space-time prism
Shows the potential accessibility of an entity — the cone-shaped volume of all possible locations reachable given a speed limit. Used in transport planning and accessibility analysis.
// 10 — FAQs
Frequently asked questions
What is a space-time cube?+
A space-time cube (STC) is a three-dimensional visualization framework where the horizontal X-Y plane represents geographic space (longitude and latitude) and the vertical Z-axis represents time. Every event, observation, or movement is plotted at its spatial coordinates and its moment in time, producing a volumetric view of spatiotemporal data.
When should you use a space-time cube?+
Use a space-time cube when you need to visualize movement trajectories that unfold over time and across geography. It also works well when your data contains spatiotemporal events with precise timestamps and locations, and when you want to reveal convergence — when and where multiple entities meet in space and time.
When should you avoid a space-time cube?+
Avoid a space-time cube when your audience is unfamiliar with 3D visualization — the learning curve is steep. It is also a poor fit when you have too many trajectories — the cube becomes cluttered and unreadable, or when your data lacks a temporal dimension — use a standard map instead.
Is a space-time cube suitable for dashboards?+
Yes — a space-time cube can work well in dashboards as long as the panel is large enough for readers to perceive the encoded values, has a clear title, and includes the legend or axis labels needed to interpret it.
What category of chart is a space-time cube?+
Space-Time Cube belongs to the Geospatial family of charts. Charts in that family are designed to answer the same kind of question, so they often work as alternatives when one doesn't quite fit your data.
How do you read a space-time cube?+
Start with the axis labels and legend, then look at the overall shape before zooming into individual marks. Compare prominent features against the rest of the data, and verify any conclusion against the underlying numbers when precision matters.