{
  "version": "xarts.intervals/1",
  "family": "intervals",
  "operation": "estimate-bounds",
  "provenance": {
    "legacyId": "span"
  },
  "data": {
    "unit": "°C",
    "rows": [
      {
        "id": "estimate-1",
        "label": "Moscow",
        "estimate": 6,
        "lower": -15,
        "upper": 30,
        "declaredWidth": 45
      },
      {
        "id": "estimate-2",
        "label": "New York",
        "estimate": 13,
        "lower": -10,
        "upper": 35,
        "declaredWidth": 45
      },
      {
        "id": "estimate-3",
        "label": "Tokyo",
        "estimate": 16,
        "lower": -2,
        "upper": 35,
        "declaredWidth": 37
      },
      {
        "id": "estimate-4",
        "label": "Cairo",
        "estimate": 22,
        "lower": 8,
        "upper": 42,
        "declaredWidth": 34
      },
      {
        "id": "estimate-5",
        "label": "Dubai",
        "estimate": 28,
        "lower": 15,
        "upper": 48,
        "declaredWidth": 33
      },
      {
        "id": "estimate-6",
        "label": "Sydney",
        "estimate": 18,
        "lower": 8,
        "upper": 40,
        "declaredWidth": 32
      },
      {
        "id": "estimate-7",
        "label": "London",
        "estimate": 12,
        "lower": 2,
        "upper": 30,
        "declaredWidth": 28
      },
      {
        "id": "estimate-8",
        "label": "São Paulo",
        "estimate": 20,
        "lower": 10,
        "upper": 35,
        "declaredWidth": 25
      },
      {
        "id": "estimate-9",
        "label": "Reykjavik",
        "estimate": 4,
        "lower": -5,
        "upper": 15,
        "declaredWidth": 20
      },
      {
        "id": "estimate-10",
        "label": "Singapore",
        "estimate": 27,
        "lower": 23,
        "upper": 34,
        "declaredWidth": 11
      }
    ]
  },
  "calculation": {
    "source": "provided-bounds",
    "meaning": {
      "kind": "observed-range",
      "description": "Supplied annual temperature extrema and mean; the mean is not the midpoint and the range is not a confidence interval."
    },
    "estimateWithin": "required",
    "order": "input",
    "reference": 0,
    "domain": {
      "paddingRatio": 0,
      "paddingAbsolute": 5,
      "includeReference": false,
      "nice": true
    },
    "declaredWidthTolerance": 0.000001
  },
  "layout": {
    "orientation": "horizontal",
    "margin": {
      "top": 24,
      "right": 33,
      "bottom": 47,
      "left": 88
    },
    "bandPadding": 0.3,
    "measureValueAxis": false,
    "exportAxisMeasurement": "glyph-advances",
    "axisMeasurementNumerals": "proportional-nums",
    "axisInkPadding": 12,
    "valueTicks": 6,
    "categoryTicks": "all",
    "gridColumns": true
  },
  "marks": {
    "body": "range-bar",
    "colorBy": "uniform",
    "positive": "series.teal",
    "negative": "series.red",
    "opacity": 0.4,
    "hoverOpacity": 0.6,
    "radius": 2,
    "rangeThickness": {
      "unit": "band",
      "value": 0.5
    },
    "stroke": "series.teal",
    "strokeWidth": 1,
    "whisker": {
      "visible": true,
      "spanLine": false,
      "color": "series.teal",
      "width": 1.5,
      "cap": 10
    },
    "point": {
      "visible": true,
      "color": "series.blue",
      "opacity": 0.9,
      "hoverOpacity": 1,
      "radius": 5,
      "stroke": "surface",
      "strokeWidth": 0
    },
    "reference": {
      "visible": false,
      "color": "accent",
      "width": 1,
      "dash": "6 3",
      "startOffset": 0,
      "labelOffset": 0,
      "label": ""
    }
  },
  "labels": {
    "estimate": "Avg",
    "lower": "Min",
    "upper": "Max",
    "prefix": "",
    "suffix": "°C",
    "decimals": 0,
    "axisDecimals": null,
    "endpoints": false,
    "fontSize": 11,
    "color": "textSecondary",
    "gap": 4,
    "annotationFontSize": 12
  },
  "interaction": {
    "tooltip": true
  },
  "annotations": [],
  "document": {
    "header": {
      "title": "Temperature Ranges",
      "subtitle": "Annual min-max temperature ranges for world cities"
    },
    "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": "span-margin-quality",
    "embedSpec": true,
    "geometryDecimals": 2
  }
}
