{
  "version": "xarts.flows/1",
  "family": "flows",
  "operation": "conversion-stages",
  "provenance": {
    "legacyId": "multistepfunnel"
  },
  "data": {
    "rows": [
      {
        "id": "stage-0",
        "label": "Website Visit",
        "count": 50000,
        "medianHours": 0
      },
      {
        "id": "stage-1",
        "label": "Signup",
        "count": 18000,
        "medianHours": 0.5
      },
      {
        "id": "stage-2",
        "label": "Activation",
        "count": 8500,
        "medianHours": 24
      },
      {
        "id": "stage-3",
        "label": "First Purchase",
        "count": 4200,
        "medianHours": 72
      },
      {
        "id": "stage-4",
        "label": "Repeat Purchase",
        "count": 1800,
        "medianHours": 168
      }
    ]
  },
  "encoding": {
    "label": "label",
    "count": "count",
    "unit": "Usuarios",
    "time": "provided-stage-median-hours"
  },
  "calculation": {
    "order": "provided",
    "population": "nested-stages",
    "denominator": "first-stage",
    "conversion": "previous-stage",
    "undefinedRate": "null",
    "rateDecimals": 1
  },
  "profile": {
    "view": "trapezoids",
    "margin": {
      "top": 16,
      "right": 20,
      "bottom": 24,
      "left": 20
    },
    "colors": [
      "#112c47",
      "#1f6f82",
      "#4b8596",
      "#3a6b4d",
      "#1f5a3d"
    ],
    "colorAssignment": "stage-order-cyclic",
    "gap": 2,
    "opacity": 0.92,
    "stroke": "#ffffff",
    "strokeWidth": 2,
    "label": {
      "fill": "#ffffff",
      "fontSize": 13,
      "fontFamily": "'Inter', system-ui, -apple-system, sans-serif",
      "fontWeight": 600
    },
    "value": {
      "fill": "#ffffff",
      "fontSize": 13,
      "fontFamily": "'Inter', system-ui, -apple-system, sans-serif",
      "fontWeight": 600
    },
    "percentage": null,
    "outside": {
      "fill": "#0d0d0d",
      "mutedFill": "#2a2a2a",
      "gap": 6,
      "padding": 4
    },
    "transition": {
      "visible": true,
      "maxHeight": 28,
      "heightFraction": 0.3,
      "conversionFontSize": 10,
      "color": "#6a6458"
    },
    "textLayout": {
      "mode": "measured",
      "lineGap": 6,
      "stagePadding": 6,
      "overflow": "reject"
    }
  },
  "annotations": [],
  "document": {
    "header": {
      "title": "Multi-Step Funnel",
      "subtitle": "Conversion rates through sequential product stages with time-to-convert"
    },
    "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": 620
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "output": {
    "filename": "multistepfunnel",
    "embedSpec": true,
    "geometryDecimals": 2
  }
}
