{
  "version": "xarts.intervals/1",
  "family": "intervals",
  "operation": "provided-bounds",
  "provenance": {
    "legacyId": "volatilitycone"
  },
  "data": {
    "rows": [
      {
        "Holding Period": "1d",
        "P10 (%)": 6.2,
        "P25 (%)": 9.8,
        "P50 (%)": 14.5,
        "P75 (%)": 20.1,
        "P90 (%)": 28.3,
        "Current (%)": 16.2
      },
      {
        "Holding Period": "1w",
        "P10 (%)": 7.1,
        "P25 (%)": 10.5,
        "P50 (%)": 15.2,
        "P75 (%)": 21,
        "P90 (%)": 29.1,
        "Current (%)": 17.5
      },
      {
        "Holding Period": "1m",
        "P10 (%)": 7.8,
        "P25 (%)": 11.2,
        "P50 (%)": 15.8,
        "P75 (%)": 21.5,
        "P90 (%)": 29.8,
        "Current (%)": 18.1
      },
      {
        "Holding Period": "3m",
        "P10 (%)": 8.5,
        "P25 (%)": 12,
        "P50 (%)": 16.5,
        "P75 (%)": 22,
        "P90 (%)": 30.2,
        "Current (%)": 15.8
      },
      {
        "Holding Period": "6m",
        "P10 (%)": 9.2,
        "P25 (%)": 12.8,
        "P50 (%)": 17.2,
        "P75 (%)": 22.5,
        "P90 (%)": 30.8,
        "Current (%)": 14.5
      },
      {
        "Holding Period": "1y",
        "P10 (%)": 10.1,
        "P25 (%)": 13.5,
        "P50 (%)": 18,
        "P75 (%)": 23.2,
        "P90 (%)": 31.5,
        "Current (%)": 13.2
      }
    ],
    "unit": "%"
  },
  "encoding": {
    "category": "Holding Period",
    "value": "Current (%)"
  },
  "source": {
    "kind": "empirical-percentiles",
    "levels": [
      {
        "probability": 0.1,
        "field": "P10 (%)",
        "label": "10th",
        "line": {
          "color": "blue",
          "width": 1,
          "dash": "4 3",
          "opacity": 0.5
        }
      },
      {
        "probability": 0.25,
        "field": "P25 (%)",
        "label": "25th",
        "line": {
          "color": "blue",
          "width": 1.5,
          "dash": "6 3",
          "opacity": 0.7
        }
      },
      {
        "probability": 0.5,
        "field": "P50 (%)",
        "label": "Median",
        "line": {
          "color": "blue",
          "width": 2.5,
          "dash": "",
          "opacity": 1
        }
      },
      {
        "probability": 0.75,
        "field": "P75 (%)",
        "label": "75th",
        "line": {
          "color": "blue",
          "width": 1.5,
          "dash": "6 3",
          "opacity": 0.7
        }
      },
      {
        "probability": 0.9,
        "field": "P90 (%)",
        "label": "90th",
        "line": {
          "color": "blue",
          "width": 1,
          "dash": "4 3",
          "opacity": 0.5
        }
      }
    ]
  },
  "calculation": {
    "order": "input",
    "domain": {
      "kind": "extent",
      "paddingRatio": 0.1,
      "roundStep": 1,
      "nonnegative": true,
      "nice": true
    }
  },
  "layout": {
    "view": "percentile-curves",
    "margin": {
      "top": 24,
      "right": 53,
      "bottom": 47,
      "left": 60
    },
    "measureAxis": "value",
    "pointPadding": 0.5,
    "bandPadding": 0.30000000000000004,
    "interpolation": "monotone-x",
    "exportMeasurement": "glyph-advances"
  },
  "marks": {
    "bands": [
      {
        "lower": 0,
        "upper": 4,
        "color": "blue",
        "opacity": 0.08,
        "alphaFill": false
      },
      {
        "lower": 1,
        "upper": 3,
        "color": "blue",
        "opacity": 0.18,
        "alphaFill": false
      }
    ],
    "focal": {
      "kind": "dots",
      "color": "red",
      "negativeColor": "red",
      "opacity": 1,
      "radius": 5,
      "stroke": "surface",
      "strokeWidth": 2,
      "lineWidth": 2.5,
      "barRadius": 0
    },
    "error": {
      "color": "textSecondary",
      "width": 1.5,
      "cap": 6
    },
    "baseline": {
      "visible": false,
      "color": "textMuted",
      "width": 1
    }
  },
  "labels": {
    "visible": false,
    "decimals": 2,
    "signed": false,
    "fontSize": 10,
    "color": "textMuted",
    "offset": 4,
    "levelLabels": true,
    "levelFontSize": 9,
    "levelOffset": 6,
    "focal": "Current (%)",
    "positive": "Positive",
    "negative": "Negative",
    "cohortPrefix": "P25–P75 · percentiles de {n} pares · {instrument}",
    "cohortMissing": "P25–P75 · GRUPO DE PARES SIN DECLARAR (ni n ni instrumento)",
    "minimumWarning": "n = {n} pares: por debajo del mínimo de {minimum} — esta banda no es un benchmark"
  },
  "axes": {
    "ticks": 6,
    "percent": true,
    "gridColumns": false,
    "baseline": true
  },
  "legend": {
    "visible": true,
    "position": "inline",
    "fontSize": 10,
    "inlineOffsets": [
      0,
      70,
      155
    ],
    "inlineLabels": [
      "Current",
      "25th-75th",
      "10th-90th"
    ]
  },
  "annotations": [],
  "document": {
    "header": {
      "title": "Volatility Term Structure",
      "subtitle": "Realized volatility percentiles across holding periods"
    },
    "footer": {
      "source": "xarts · demo data",
      "notes": "Illustrative data to explore the chart and replace with your own."
    },
    "spacing": {
      "horizontalPadding": 24,
      "topPadding": 22,
      "bottomPadding": 16,
      "minimumTextGap": 4
    }
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 800,
      "height": 480
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "output": {
    "filename": "volatilitycone-margin-quality",
    "embedSpec": true,
    "geometryDecimals": 2
  }
}
