Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Risk Quantifier: Heatmap to Histogram

An interactive tool for converting qualitative risk matrices into quantitative probability distributions using Monte Carlo simulation.

Live: https://xnasusx.github.io/risk-quantifier/

Three risks placed on a 5x5 heat map, with the resulting loss distributions and P50 / expected / P90 figures underneath

The same three risks, twice. On the left, three colored cells — no dollar amounts, no ranges, nothing to decide on. On the right, three loss distributions with percentiles you can budget against. That gap is the whole point of the tool.

Features

  • Interactive 5×5 Risk Heatmap - Click to place up to 5 risks across likelihood and impact dimensions
  • Risk Parameterization - Define min/likely/max values for frequency (events per year) and impact ($ per event)
  • Individual Risk Modals - Each risk displays:
    • Frequency distribution chart
    • Loss magnitude per event distribution
    • Loss exceedance curve with key percentiles
  • Monte Carlo Simulation - 10,000 iterations generate realistic probability distributions
  • Aggregate Results - View combined annual loss statistics across all risks
  • Responsive Design - Works on desktop and tablet
  • Professional Color Palette - Cohesive, accessible design system

Usage

  1. Click cells on the heatmap to place up to 5 risks
  2. Modals open automatically for each risk
  3. Adjust frequency and impact parameters (min/likely/max)
  4. Click "Run Simulation (10,000 iterations)"
  5. View individual risk distributions in modals and aggregate results in the main panel

How It Works

The tool uses triangular distributions for both frequency and impact, then simulates a Poisson process for the number of annual events. This preserves the full range of outcomes that traditional risk matrices hide.

Deployment

This is a standalone HTML file with no dependencies. Deploy to any web server or use locally by opening index.html in your browser.

GitHub Pages

Deployed at https://xnasusx.github.io/risk-quantifier/.

Notes

This is an educational learning tool for understanding risk quantification concepts. For production risk models, consult risk modeling professionals.

License

MIT — see LICENSE.

About

Interactive risk quantifier: place risks on a 5x5 heat map, add frequency and loss ranges, then run 10,000 Monte Carlo iterations to turn the matrix into a loss distribution.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages