{
  "version": "xarts.ordered-series/1",
  "family": "ordered-series",
  "operation": "weighted-trail",
  "provenance": {
    "legacyId": "trail"
  },
  "data": {
    "rows": [
      {
        "id": "observation-0",
        "time": "2025-09-01",
        "value": 2.4,
        "weight": 24100
      },
      {
        "id": "observation-1",
        "time": "2025-09-08",
        "value": 2.5,
        "weight": 25600
      },
      {
        "id": "observation-2",
        "time": "2025-09-15",
        "value": 2.3,
        "weight": 24900
      },
      {
        "id": "observation-3",
        "time": "2025-09-22",
        "value": 2.2,
        "weight": 23400
      },
      {
        "id": "observation-4",
        "time": "2025-09-29",
        "value": 2.4,
        "weight": 22100
      },
      {
        "id": "observation-5",
        "time": "2025-10-06",
        "value": 2.2,
        "weight": 20800
      },
      {
        "id": "observation-6",
        "time": "2025-10-13",
        "value": 2.1,
        "weight": 19500
      },
      {
        "id": "observation-7",
        "time": "2025-10-20",
        "value": 2,
        "weight": 18200
      },
      {
        "id": "observation-8",
        "time": "2025-10-27",
        "value": 2.1,
        "weight": 16400
      },
      {
        "id": "observation-9",
        "time": "2025-11-03",
        "value": 1.9,
        "weight": 14900
      },
      {
        "id": "observation-10",
        "time": "2025-11-10",
        "value": 1.8,
        "weight": 13100
      },
      {
        "id": "observation-11",
        "time": "2025-11-17",
        "value": 1.9,
        "weight": 12400
      },
      {
        "id": "observation-12",
        "time": "2025-11-24",
        "value": 2.7,
        "weight": 15800
      },
      {
        "id": "observation-13",
        "time": "2025-12-01",
        "value": 2,
        "weight": 11200
      },
      {
        "id": "observation-14",
        "time": "2025-12-08",
        "value": 1.8,
        "weight": 8600
      },
      {
        "id": "observation-15",
        "time": "2025-12-15",
        "value": 2.2,
        "weight": 5400
      },
      {
        "id": "observation-16",
        "time": "2025-12-22",
        "value": 3.6,
        "weight": 1900
      },
      {
        "id": "observation-17",
        "time": "2025-12-29",
        "value": 4.1,
        "weight": 1400
      }
    ]
  },
  "encoding": {
    "time": {
      "field": "time",
      "label": "Semana",
      "unit": "UTC day"
    },
    "value": {
      "field": "value",
      "label": "Conversión (%)",
      "unit": "percent"
    },
    "weight": {
      "field": "weight",
      "label": "Sesiones",
      "unit": "sessions",
      "format": {
        "kind": "integer"
      }
    }
  },
  "calculation": {
    "coordinate": "utc-day",
    "order": "coordinate-asc",
    "duplicates": "reject",
    "missing": "reject",
    "domainPadding": 0.08,
    "weightDomain": {
      "source": "data-maximum",
      "base": 0
    },
    "interpolation": "linear",
    "anchor": "centered",
    "maximum": "first-maximum-by-time"
  },
  "profile": {
    "margin": {
      "top": 34,
      "right": 22,
      "bottom": 46,
      "left": 54
    },
    "axis": {
      "stroke": "transparent",
      "tickStroke": "transparent",
      "tickLength": 0,
      "labelColor": "colors.textSecondary",
      "tickLabelColor": "#3d3d3d",
      "labelFontSize": 14,
      "tickLabelFontSize": 13,
      "labelFontFamily": "'Inter', system-ui, -apple-system, sans-serif",
      "tickLabelFontFamily": "'Inter', system-ui, -apple-system, sans-serif",
      "baselineStroke": "#3d3d3d",
      "baselineWidth": 1.5,
      "titleColor": "colors.textSecondary",
      "titleFontSize": 13,
      "titleFontWeight": 700
    },
    "grid": {
      "stroke": "#d6cfbc",
      "strokeOpacity": 1,
      "strokeDasharray": ""
    },
    "band": {
      "maxWidth": 54,
      "color": "colors.series.blue",
      "opacity": 0.32
    },
    "line": {
      "color": "colors.textPrimary",
      "width": 1.75
    },
    "peak": {
      "color": "colors.accent",
      "radius": 4.5,
      "connectorColor": "colors.border",
      "connectorDash": "3,3"
    },
    "labels": {
      "color": "colors.textMuted",
      "fontSize": 11
    },
    "legend": {
      "exportMeasurement": "glyph-advances"
    }
  },
  "annotations": [],
  "document": {
    "header": {
      "title": "El récord de conversión del año son 57 reservas",
      "subtitle": "Conversión semanal de la reserva directa y sesiones de esa misma semana, dibujadas en la misma marca",
      "source": "Serie ilustrativa · motor de reserva directa de una cadena urbana, sept-dic 2025"
    },
    "spacing": {
      "horizontalPadding": 24,
      "topPadding": 22,
      "bottomPadding": 24,
      "minimumTextGap": 6
    }
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 940,
      "height": 587
    },
    "locale": "es-ES",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "output": {
    "filename": "trail",
    "embedSpec": true,
    "geometryDecimals": 2
  }
}
