HomeFinancial Models & MarketsRisk Management Simulation

3D Portfolio Risk Simulator — Correlated Monte Carlo VaR

3D Monte Carlo simulation of a two-asset portfolio with correlated returns: a growing skyline of simulated outcomes cut by Value-at-Risk and Expected Shortfall planes, driven by Cholesky-correlated geometric Brownian motion.

Financial Models & Markets3DEasy60 FPS📱 Mobile-adapted⇄ 2D version
3d-risk-management ↗ Open standalone

This simulator extends portfolio risk to two correlated assets, generating each trial's shocks through a Cholesky decomposition so their correlation ρ is respected exactly, then combining the resulting terminal returns into one portfolio outcome. Every trial becomes a marker in a growing 3D skyline — height is the trial's portfolio return, color marks gain or loss — while an amber Value-at-Risk plane and a red Expected Shortfall plane slice horizontally through the distribution as it accumulates. Drag correlation toward +1 to watch the loss tail fatten even without raising either asset's own volatility — the signature of diversification breaking down under stress.

⚙ Under the hood

Visualize the risk of a two-asset portfolio through a 3D skyline of return-height bars, cut by VaR/ES planes showing potential losses.

risk managementfinanceportfolio analysis

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)