Morning availability — Hill loses 37 bikes

Saved dashboard. Enable JavaScript to inspect its interactive views.

Report definition and source revisions
{
  "format": "clio.dashboard.v1",
  "id": "9e382c1a-e86b-46b2-bd37-c887cbfd03b9",
  "session_id": "sess_116c8084d96e",
  "title": "Morning availability — Hill loses 37 bikes",
  "created_at": "2026-10-11T00:37:14.441699+00:00",
  "surface": {
    "id": "dashboard_9e382c1a-e86b-46b2-bd37-c887cbfd03b9",
    "session_id": "sess_116c8084d96e",
    "catalog_id": "https://iowarp.ai/a2ui/catalogs/clio-workspace/v1",
    "protocol_version": "0.9.1",
    "revision": 3,
    "state": "ready",
    "messages": [
      {
        "version": "v0.9.1",
        "createSurface": {
          "surfaceId": "dashboard_9e382c1a-e86b-46b2-bd37-c887cbfd03b9",
          "catalogId": "https://iowarp.ai/a2ui/catalogs/clio-workspace/v1"
        }
      },
      {
        "version": "v0.9.1",
        "updateComponents": {
          "surfaceId": "dashboard_9e382c1a-e86b-46b2-bd37-c887cbfd03b9",
          "components": [
            {
              "id": "root",
              "component": "Column",
              "children": [
                "scope",
                "metrics",
                "finding",
                "primary",
                "secondary",
                "limits",
                "sourceFrame"
              ]
            },
            {
              "id": "scope",
              "component": "Text",
              "text": "SYNTHETIC EXAMPLE · Five fictional stations · 6–9 am · Counts and locations illustrate the workflow."
            },
            {
              "id": "metrics",
              "component": "Grid",
              "columns": 3,
              "children": [
                "empty",
                "loss",
                "gain"
              ]
            },
            {
              "id": "empty",
              "component": "clio.metric.v1",
              "label": "Fernhill first empty",
              "value": "8:15 am",
              "detail": "At the first recorded zero count"
            },
            {
              "id": "loss",
              "component": "clio.metric.v1",
              "label": "Hill net change",
              "value": -37,
              "unit": "bikes",
              "detail": "6–9 am, two stations"
            },
            {
              "id": "gain",
              "component": "clio.metric.v1",
              "label": "Downtown net change",
              "value": "+37",
              "unit": "bikes",
              "detail": "Same interval, two stations"
            },
            {
              "id": "primary",
              "component": "Row",
              "align": "stretch",
              "children": [
                "trendFrame",
                "balanceFrame"
              ]
            },
            {
              "id": "trendFrame",
              "component": "Frame",
              "weight": 2,
              "child": "occupancy"
            },
            {
              "id": "balanceFrame",
              "component": "Frame",
              "weight": 1,
              "child": "balance"
            },
            {
              "id": "secondary",
              "component": "Row",
              "align": "stretch",
              "children": [
                "mapFrame",
                "comparisonFrame"
              ]
            },
            {
              "id": "mapFrame",
              "component": "Frame",
              "weight": 1.5,
              "child": "locations"
            },
            {
              "id": "comparisonFrame",
              "component": "Frame",
              "weight": 1.5,
              "title": "Compare the same stations",
              "description": "Select a station in the map, chart or table to highlight it across the report.",
              "child": "comparison"
            },
            {
              "id": "sourceFrame",
              "component": "Frame",
              "title": "Every source snapshot",
              "description": "Five fictional stations, all six recorded times. The editable data remains intact.",
              "child": "evidence"
            },
            {
              "id": "finding",
              "component": "Text",
              "text": "Hill occupancy falls as downtown occupancy rises. Fernhill reaches zero at 8:15 am; the matched totals show an imbalance, not proof of individual trip routes."
            },
            {
              "id": "occupancy",
              "component": "clio.chart.v1",
              "title": "Bike availability, 6–9 am",
              "height": 290,
              "data": [
                {
                  "station_id": "fern",
                  "name": "Fernhill",
                  "category": "Hill",
                  "capacity": 24,
                  "latitude": 41.885,
                  "longitude": -87.675,
                  "net_bikes": -21,
                  "at_6": 21,
                  "at_7": 16,
                  "at_8": 4,
                  "at_815": 0,
                  "at_830": 0,
                  "at_9": 0
                },
                {
                  "station_id": "orchard",
                  "name": "Orchard",
                  "category": "Hill",
                  "capacity": 18,
                  "latitude": 41.89,
                  "longitude": -87.668,
                  "net_bikes": -16,
                  "at_6": 18,
                  "at_7": 15,
                  "at_8": 8,
                  "at_815": 5,
                  "at_830": 3,
                  "at_9": 2
                },
                {
                  "station_id": "canal",
                  "name": "Canal Street",
                  "category": "Downtown",
                  "capacity": 24,
                  "latitude": 41.88,
                  "longitude": -87.637,
                  "net_bikes": 21,
                  "at_6": 3,
                  "at_7": 8,
                  "at_8": 20,
                  "at_815": 24,
                  "at_830": 24,
                  "at_9": 24
                },
                {
                  "station_id": "market",
                  "name": "Market Square",
                  "category": "Downtown",
                  "capacity": 18,
                  "latitude": 41.875,
                  "longitude": -87.631,
                  "net_bikes": 16,
                  "at_6": 2,
                  "at_7": 5,
                  "at_8": 12,
                  "at_815": 15,
                  "at_830": 17,
                  "at_9": 18
                },
                {
                  "station_id": "park",
                  "name": "Park",
                  "category": "Other areas",
                  "capacity": 20,
                  "latitude": 41.898,
                  "longitude": -87.645,
                  "net_bikes": 0,
                  "at_6": 10,
                  "at_7": 10,
                  "at_8": 10,
                  "at_815": 10,
                  "at_830": 10,
                  "at_9": 10
                }
              ],
              "selectionField": "station_id",
              "spec": {
                "data": {
                  "name": "source"
                },
                "transform": [
                  {
                    "fold": [
                      "at_6",
                      "at_7",
                      "at_8",
                      "at_815",
                      "at_830",
                      "at_9"
                    ],
                    "as": [
                      "time_key",
                      "bikes"
                    ]
                  },
                  {
                    "calculate": "datum.time_key==='at_815'?8.25:datum.time_key==='at_830'?8.5:toNumber(substring(datum.time_key,3))",
                    "as": "hour"
                  }
                ],
                "encoding": {
                  "x": {
                    "field": "hour",
                    "type": "quantitative",
                    "scale": {
                      "domain": [
                        6,
                        9
                      ]
                    },
                    "axis": {
                      "title": "Morning time",
                      "values": [
                        6,
                        7,
                        8,
                        8.25,
                        9
                      ],
                      "labelExpr": "datum.value===8.25?'8:15':format(datum.value,'.0f')+':00'"
                    }
                  },
                  "y": {
                    "field": "bikes",
                    "type": "quantitative",
                    "title": "Bikes docked",
                    "scale": {
                      "domain": [
                        0,
                        26
                      ]
                    }
                  },
                  "color": {
                    "field": "category",
                    "type": "nominal",
                    "legend": {
                      "title": null
                    }
                  }
                },
                "layer": [
                  {
                    "mark": {
                      "type": "line",
                      "point": true
                    },
                    "encoding": {
                      "detail": {
                        "field": "station_id"
                      },
                      "tooltip": [
                        {
                          "field": "name"
                        },
                        {
                          "field": "hour"
                        },
                        {
                          "field": "bikes"
                        }
                      ]
                    }
                  },
                  {
                    "transform": [
                      {
                        "filter": "datum.station_id==='fern' && datum.hour===8.25"
                      }
                    ],
                    "mark": {
                      "type": "point",
                      "filled": false,
                      "size": 420,
                      "strokeWidth": 2
                    },
                    "encoding": {
                      "color": {
                        "value": "#b91c1c"
                      }
                    }
                  },
                  {
                    "transform": [
                      {
                        "filter": "datum.station_id==='fern' && datum.hour===8.25"
                      }
                    ],
                    "mark": {
                      "type": "text",
                      "align": "right",
                      "dx": -8,
                      "dy": -18
                    },
                    "encoding": {
                      "text": {
                        "value": "Fernhill empty, 8:15 am"
                      },
                      "color": {
                        "value": "#b91c1c"
                      }
                    }
                  }
                ]
              }
            },
            {
              "id": "limits",
              "component": "Text",
              "text": "The five stations conserve 54 bikes in every recorded interval. These synthetic snapshots do not measure missed trips or prove that an individual bike travelled between districts. The related views below share station identities; the source table retains every input count."
            },
            {
              "id": "balance",
              "component": "clio.chart.v1",
              "title": "Net change by station, 6–9 am",
              "height": 290,
              "data": [
                {
                  "station_id": "fern",
                  "name": "Fernhill",
                  "category": "Hill",
                  "capacity": 24,
                  "latitude": 41.885,
                  "longitude": -87.675,
                  "net_bikes": -21,
                  "at_6": 21,
                  "at_7": 16,
                  "at_8": 4,
                  "at_815": 0,
                  "at_830": 0,
                  "at_9": 0
                },
                {
                  "station_id": "orchard",
                  "name": "Orchard",
                  "category": "Hill",
                  "capacity": 18,
                  "latitude": 41.89,
                  "longitude": -87.668,
                  "net_bikes": -16,
                  "at_6": 18,
                  "at_7": 15,
                  "at_8": 8,
                  "at_815": 5,
                  "at_830": 3,
                  "at_9": 2
                },
                {
                  "station_id": "canal",
                  "name": "Canal Street",
                  "category": "Downtown",
                  "capacity": 24,
                  "latitude": 41.88,
                  "longitude": -87.637,
                  "net_bikes": 21,
                  "at_6": 3,
                  "at_7": 8,
                  "at_8": 20,
                  "at_815": 24,
                  "at_830": 24,
                  "at_9": 24
                },
                {
                  "station_id": "market",
                  "name": "Market Square",
                  "category": "Downtown",
                  "capacity": 18,
                  "latitude": 41.875,
                  "longitude": -87.631,
                  "net_bikes": 16,
                  "at_6": 2,
                  "at_7": 5,
                  "at_8": 12,
                  "at_815": 15,
                  "at_830": 17,
                  "at_9": 18
                },
                {
                  "station_id": "park",
                  "name": "Park",
                  "category": "Other areas",
                  "capacity": 20,
                  "latitude": 41.898,
                  "longitude": -87.645,
                  "net_bikes": 0,
                  "at_6": 10,
                  "at_7": 10,
                  "at_8": 10,
                  "at_815": 10,
                  "at_830": 10,
                  "at_9": 10
                }
              ],
              "selectionField": "station_id",
              "spec": {
                "data": {
                  "name": "source"
                },
                "mark": "bar",
                "encoding": {
                  "x": {
                    "field": "net_bikes",
                    "type": "quantitative",
                    "title": "Bikes gained / lost",
                    "scale": {
                      "zero": true
                    }
                  },
                  "y": {
                    "field": "name",
                    "type": "nominal",
                    "sort": {
                      "field": "net_bikes"
                    },
                    "title": null
                  },
                  "color": {
                    "field": "category",
                    "type": "nominal",
                    "legend": {
                      "title": null
                    }
                  },
                  "tooltip": [
                    {
                      "field": "name"
                    },
                    {
                      "field": "net_bikes"
                    }
                  ]
                }
              }
            },
            {
              "id": "locations",
              "component": "clio.map.v1",
              "title": "Illustrative station locations",
              "camera": {
                "path": "/camera"
              },
              "points": [
                {
                  "id": "fern",
                  "label": "Fernhill",
                  "latitude": 41.885,
                  "longitude": -87.675,
                  "category": "Hill"
                },
                {
                  "id": "orchard",
                  "label": "Orchard",
                  "latitude": 41.89,
                  "longitude": -87.668,
                  "category": "Hill"
                },
                {
                  "id": "canal",
                  "label": "Canal Street",
                  "latitude": 41.88,
                  "longitude": -87.637,
                  "category": "Downtown"
                },
                {
                  "id": "market",
                  "label": "Market Square",
                  "latitude": 41.875,
                  "longitude": -87.631,
                  "category": "Downtown"
                },
                {
                  "id": "park",
                  "label": "Park",
                  "latitude": 41.898,
                  "longitude": -87.645,
                  "category": "Other areas"
                }
              ]
            },
            {
              "id": "comparison",
              "component": "clio.data-table.v1",
              "rows": [
                {
                  "station_id": "fern",
                  "name": "Fernhill",
                  "category": "Hill",
                  "capacity": 24,
                  "latitude": 41.885,
                  "longitude": -87.675,
                  "net_bikes": -21,
                  "at_6": 21,
                  "at_7": 16,
                  "at_8": 4,
                  "at_815": 0,
                  "at_830": 0,
                  "at_9": 0
                },
                {
                  "station_id": "orchard",
                  "name": "Orchard",
                  "category": "Hill",
                  "capacity": 18,
                  "latitude": 41.89,
                  "longitude": -87.668,
                  "net_bikes": -16,
                  "at_6": 18,
                  "at_7": 15,
                  "at_8": 8,
                  "at_815": 5,
                  "at_830": 3,
                  "at_9": 2
                },
                {
                  "station_id": "canal",
                  "name": "Canal Street",
                  "category": "Downtown",
                  "capacity": 24,
                  "latitude": 41.88,
                  "longitude": -87.637,
                  "net_bikes": 21,
                  "at_6": 3,
                  "at_7": 8,
                  "at_8": 20,
                  "at_815": 24,
                  "at_830": 24,
                  "at_9": 24
                },
                {
                  "station_id": "market",
                  "name": "Market Square",
                  "category": "Downtown",
                  "capacity": 18,
                  "latitude": 41.875,
                  "longitude": -87.631,
                  "net_bikes": 16,
                  "at_6": 2,
                  "at_7": 5,
                  "at_8": 12,
                  "at_815": 15,
                  "at_830": 17,
                  "at_9": 18
                },
                {
                  "station_id": "park",
                  "name": "Park",
                  "category": "Other areas",
                  "capacity": 20,
                  "latitude": 41.898,
                  "longitude": -87.645,
                  "net_bikes": 0,
                  "at_6": 10,
                  "at_7": 10,
                  "at_8": 10,
                  "at_815": 10,
                  "at_830": 10,
                  "at_9": 10
                }
              ],
              "selectionField": "station_id",
              "columns": [
                {
                  "key": "name",
                  "label": "Station"
                },
                {
                  "key": "capacity",
                  "label": "Docks"
                },
                {
                  "key": "at_6",
                  "label": "6 am"
                },
                {
                  "key": "at_9",
                  "label": "9 am"
                },
                {
                  "key": "net_bikes",
                  "label": "Net bikes"
                }
              ]
            },
            {
              "id": "evidence",
              "component": "Column",
              "children": [
                "method",
                "records"
              ]
            },
            {
              "id": "method",
              "component": "Text",
              "text": "Net change = count at 9 am minus count at 6 am. Snapshot intervals are not uniform: 6, 7, 8, 8:15, 8:30 and 9 am. Station capacities are included. All inputs are fictional; the example demonstrates composition and interaction."
            },
            {
              "id": "records",
              "component": "clio.data-table.v1",
              "rows": [
                {
                  "station_id": "fern",
                  "name": "Fernhill",
                  "category": "Hill",
                  "capacity": 24,
                  "latitude": 41.885,
                  "longitude": -87.675,
                  "net_bikes": -21,
                  "at_6": 21,
                  "at_7": 16,
                  "at_8": 4,
                  "at_815": 0,
                  "at_830": 0,
                  "at_9": 0
                },
                {
                  "station_id": "orchard",
                  "name": "Orchard",
                  "category": "Hill",
                  "capacity": 18,
                  "latitude": 41.89,
                  "longitude": -87.668,
                  "net_bikes": -16,
                  "at_6": 18,
                  "at_7": 15,
                  "at_8": 8,
                  "at_815": 5,
                  "at_830": 3,
                  "at_9": 2
                },
                {
                  "station_id": "canal",
                  "name": "Canal Street",
                  "category": "Downtown",
                  "capacity": 24,
                  "latitude": 41.88,
                  "longitude": -87.637,
                  "net_bikes": 21,
                  "at_6": 3,
                  "at_7": 8,
                  "at_8": 20,
                  "at_815": 24,
                  "at_830": 24,
                  "at_9": 24
                },
                {
                  "station_id": "market",
                  "name": "Market Square",
                  "category": "Downtown",
                  "capacity": 18,
                  "latitude": 41.875,
                  "longitude": -87.631,
                  "net_bikes": 16,
                  "at_6": 2,
                  "at_7": 5,
                  "at_8": 12,
                  "at_815": 15,
                  "at_830": 17,
                  "at_9": 18
                },
                {
                  "station_id": "park",
                  "name": "Park",
                  "category": "Other areas",
                  "capacity": 20,
                  "latitude": 41.898,
                  "longitude": -87.645,
                  "net_bikes": 0,
                  "at_6": 10,
                  "at_7": 10,
                  "at_8": 10,
                  "at_815": 10,
                  "at_830": 10,
                  "at_9": 10
                }
              ],
              "selectionField": "station_id",
              "columns": [
                {
                  "key": "name",
                  "label": "Station"
                },
                {
                  "key": "category",
                  "label": "Area"
                },
                {
                  "key": "capacity",
                  "label": "Capacity"
                },
                {
                  "key": "at_6",
                  "label": "6 am"
                },
                {
                  "key": "at_7",
                  "label": "7 am"
                },
                {
                  "key": "at_8",
                  "label": "8 am"
                },
                {
                  "key": "at_815",
                  "label": "8:15 am"
                },
                {
                  "key": "at_830",
                  "label": "8:30 am"
                },
                {
                  "key": "at_9",
                  "label": "9 am"
                },
                {
                  "key": "net_bikes",
                  "label": "Net bikes"
                },
                {
                  "key": "station_id",
                  "label": "Station ID"
                },
                {
                  "key": "latitude",
                  "label": "Latitude"
                },
                {
                  "key": "longitude",
                  "label": "Longitude"
                }
              ]
            }
          ]
        }
      },
      {
        "version": "v0.9.1",
        "updateDataModel": {
          "surfaceId": "dashboard_9e382c1a-e86b-46b2-bd37-c887cbfd03b9",
          "value": {
            "camera": {
              "longitude": -87.655,
              "latitude": 41.886,
              "zoom": 12
            }
          }
        }
      }
    ],
    "message_revisions": [
      1,
      2,
      3
    ],
    "part_id": "dashboard_9e382c1a-e86b-46b2-bd37-c887cbfd03b9",
    "evicted_messages": 0,
    "created_at": "2026-10-11T00:37:14.385612+00:00",
    "updated_at": "2026-10-11T00:37:14.385612+00:00",
    "actions": []
  },
  "definition": {
    "format": "clio.dashboard.document.v1",
    "title": "Morning availability — Hill loses 37 bikes",
    "components": [
      {
        "id": "root",
        "component": "Column",
        "children": [
          "scope",
          "metrics",
          "finding",
          "primary",
          "secondary",
          "limits",
          "sourceFrame"
        ]
      },
      {
        "id": "scope",
        "component": "Text",
        "text": "SYNTHETIC EXAMPLE · Five fictional stations · 6–9 am · Counts and locations illustrate the workflow."
      },
      {
        "id": "metrics",
        "component": "Grid",
        "columns": 3,
        "children": [
          "empty",
          "loss",
          "gain"
        ]
      },
      {
        "id": "empty",
        "component": "clio.metric.v1",
        "label": "Fernhill first empty",
        "value": "8:15 am",
        "detail": "At the first recorded zero count"
      },
      {
        "id": "loss",
        "component": "clio.metric.v1",
        "label": "Hill net change",
        "value": -37,
        "unit": "bikes",
        "detail": "6–9 am, two stations"
      },
      {
        "id": "gain",
        "component": "clio.metric.v1",
        "label": "Downtown net change",
        "value": "+37",
        "unit": "bikes",
        "detail": "Same interval, two stations"
      },
      {
        "id": "primary",
        "component": "Row",
        "align": "stretch",
        "children": [
          "trendFrame",
          "balanceFrame"
        ]
      },
      {
        "id": "trendFrame",
        "component": "Frame",
        "weight": 2,
        "child": "occupancy"
      },
      {
        "id": "balanceFrame",
        "component": "Frame",
        "weight": 1,
        "child": "balance"
      },
      {
        "id": "secondary",
        "component": "Row",
        "align": "stretch",
        "children": [
          "mapFrame",
          "comparisonFrame"
        ]
      },
      {
        "id": "mapFrame",
        "component": "Frame",
        "weight": 1.5,
        "child": "locations"
      },
      {
        "id": "comparisonFrame",
        "component": "Frame",
        "weight": 1.5,
        "title": "Compare the same stations",
        "description": "Select a station in the map, chart or table to highlight it across the report.",
        "child": "comparison"
      },
      {
        "id": "sourceFrame",
        "component": "Frame",
        "title": "Every source snapshot",
        "description": "Five fictional stations, all six recorded times. The editable data remains intact.",
        "child": "evidence"
      },
      {
        "id": "finding",
        "component": "Text",
        "text": "Hill occupancy falls as downtown occupancy rises. Fernhill reaches zero at 8:15 am; the matched totals show an imbalance, not proof of individual trip routes."
      },
      {
        "id": "occupancy",
        "component": "clio.chart.v1",
        "title": "Bike availability, 6–9 am",
        "height": 290,
        "data": [
          {
            "station_id": "fern",
            "name": "Fernhill",
            "category": "Hill",
            "capacity": 24,
            "latitude": 41.885,
            "longitude": -87.675,
            "net_bikes": -21,
            "at_6": 21,
            "at_7": 16,
            "at_8": 4,
            "at_815": 0,
            "at_830": 0,
            "at_9": 0
          },
          {
            "station_id": "orchard",
            "name": "Orchard",
            "category": "Hill",
            "capacity": 18,
            "latitude": 41.89,
            "longitude": -87.668,
            "net_bikes": -16,
            "at_6": 18,
            "at_7": 15,
            "at_8": 8,
            "at_815": 5,
            "at_830": 3,
            "at_9": 2
          },
          {
            "station_id": "canal",
            "name": "Canal Street",
            "category": "Downtown",
            "capacity": 24,
            "latitude": 41.88,
            "longitude": -87.637,
            "net_bikes": 21,
            "at_6": 3,
            "at_7": 8,
            "at_8": 20,
            "at_815": 24,
            "at_830": 24,
            "at_9": 24
          },
          {
            "station_id": "market",
            "name": "Market Square",
            "category": "Downtown",
            "capacity": 18,
            "latitude": 41.875,
            "longitude": -87.631,
            "net_bikes": 16,
            "at_6": 2,
            "at_7": 5,
            "at_8": 12,
            "at_815": 15,
            "at_830": 17,
            "at_9": 18
          },
          {
            "station_id": "park",
            "name": "Park",
            "category": "Other areas",
            "capacity": 20,
            "latitude": 41.898,
            "longitude": -87.645,
            "net_bikes": 0,
            "at_6": 10,
            "at_7": 10,
            "at_8": 10,
            "at_815": 10,
            "at_830": 10,
            "at_9": 10
          }
        ],
        "selectionField": "station_id",
        "spec": {
          "data": {
            "name": "source"
          },
          "transform": [
            {
              "fold": [
                "at_6",
                "at_7",
                "at_8",
                "at_815",
                "at_830",
                "at_9"
              ],
              "as": [
                "time_key",
                "bikes"
              ]
            },
            {
              "calculate": "datum.time_key==='at_815'?8.25:datum.time_key==='at_830'?8.5:toNumber(substring(datum.time_key,3))",
              "as": "hour"
            }
          ],
          "encoding": {
            "x": {
              "field": "hour",
              "type": "quantitative",
              "scale": {
                "domain": [
                  6,
                  9
                ]
              },
              "axis": {
                "title": "Morning time",
                "values": [
                  6,
                  7,
                  8,
                  8.25,
                  9
                ],
                "labelExpr": "datum.value===8.25?'8:15':format(datum.value,'.0f')+':00'"
              }
            },
            "y": {
              "field": "bikes",
              "type": "quantitative",
              "title": "Bikes docked",
              "scale": {
                "domain": [
                  0,
                  26
                ]
              }
            },
            "color": {
              "field": "category",
              "type": "nominal",
              "legend": {
                "title": null
              }
            }
          },
          "layer": [
            {
              "mark": {
                "type": "line",
                "point": true
              },
              "encoding": {
                "detail": {
                  "field": "station_id"
                },
                "tooltip": [
                  {
                    "field": "name"
                  },
                  {
                    "field": "hour"
                  },
                  {
                    "field": "bikes"
                  }
                ]
              }
            },
            {
              "transform": [
                {
                  "filter": "datum.station_id==='fern' && datum.hour===8.25"
                }
              ],
              "mark": {
                "type": "point",
                "filled": false,
                "size": 420,
                "strokeWidth": 2
              },
              "encoding": {
                "color": {
                  "value": "#b91c1c"
                }
              }
            },
            {
              "transform": [
                {
                  "filter": "datum.station_id==='fern' && datum.hour===8.25"
                }
              ],
              "mark": {
                "type": "text",
                "align": "right",
                "dx": -8,
                "dy": -18
              },
              "encoding": {
                "text": {
                  "value": "Fernhill empty, 8:15 am"
                },
                "color": {
                  "value": "#b91c1c"
                }
              }
            }
          ]
        }
      },
      {
        "id": "limits",
        "component": "Text",
        "text": "The five stations conserve 54 bikes in every recorded interval. These synthetic snapshots do not measure missed trips or prove that an individual bike travelled between districts. The related views below share station identities; the source table retains every input count."
      },
      {
        "id": "balance",
        "component": "clio.chart.v1",
        "title": "Net change by station, 6–9 am",
        "height": 290,
        "data": [
          {
            "station_id": "fern",
            "name": "Fernhill",
            "category": "Hill",
            "capacity": 24,
            "latitude": 41.885,
            "longitude": -87.675,
            "net_bikes": -21,
            "at_6": 21,
            "at_7": 16,
            "at_8": 4,
            "at_815": 0,
            "at_830": 0,
            "at_9": 0
          },
          {
            "station_id": "orchard",
            "name": "Orchard",
            "category": "Hill",
            "capacity": 18,
            "latitude": 41.89,
            "longitude": -87.668,
            "net_bikes": -16,
            "at_6": 18,
            "at_7": 15,
            "at_8": 8,
            "at_815": 5,
            "at_830": 3,
            "at_9": 2
          },
          {
            "station_id": "canal",
            "name": "Canal Street",
            "category": "Downtown",
            "capacity": 24,
            "latitude": 41.88,
            "longitude": -87.637,
            "net_bikes": 21,
            "at_6": 3,
            "at_7": 8,
            "at_8": 20,
            "at_815": 24,
            "at_830": 24,
            "at_9": 24
          },
          {
            "station_id": "market",
            "name": "Market Square",
            "category": "Downtown",
            "capacity": 18,
            "latitude": 41.875,
            "longitude": -87.631,
            "net_bikes": 16,
            "at_6": 2,
            "at_7": 5,
            "at_8": 12,
            "at_815": 15,
            "at_830": 17,
            "at_9": 18
          },
          {
            "station_id": "park",
            "name": "Park",
            "category": "Other areas",
            "capacity": 20,
            "latitude": 41.898,
            "longitude": -87.645,
            "net_bikes": 0,
            "at_6": 10,
            "at_7": 10,
            "at_8": 10,
            "at_815": 10,
            "at_830": 10,
            "at_9": 10
          }
        ],
        "selectionField": "station_id",
        "spec": {
          "data": {
            "name": "source"
          },
          "mark": "bar",
          "encoding": {
            "x": {
              "field": "net_bikes",
              "type": "quantitative",
              "title": "Bikes gained / lost",
              "scale": {
                "zero": true
              }
            },
            "y": {
              "field": "name",
              "type": "nominal",
              "sort": {
                "field": "net_bikes"
              },
              "title": null
            },
            "color": {
              "field": "category",
              "type": "nominal",
              "legend": {
                "title": null
              }
            },
            "tooltip": [
              {
                "field": "name"
              },
              {
                "field": "net_bikes"
              }
            ]
          }
        }
      },
      {
        "id": "locations",
        "component": "clio.map.v1",
        "title": "Illustrative station locations",
        "camera": {
          "path": "/camera"
        },
        "points": [
          {
            "id": "fern",
            "label": "Fernhill",
            "latitude": 41.885,
            "longitude": -87.675,
            "category": "Hill"
          },
          {
            "id": "orchard",
            "label": "Orchard",
            "latitude": 41.89,
            "longitude": -87.668,
            "category": "Hill"
          },
          {
            "id": "canal",
            "label": "Canal Street",
            "latitude": 41.88,
            "longitude": -87.637,
            "category": "Downtown"
          },
          {
            "id": "market",
            "label": "Market Square",
            "latitude": 41.875,
            "longitude": -87.631,
            "category": "Downtown"
          },
          {
            "id": "park",
            "label": "Park",
            "latitude": 41.898,
            "longitude": -87.645,
            "category": "Other areas"
          }
        ]
      },
      {
        "id": "comparison",
        "component": "clio.data-table.v1",
        "rows": [
          {
            "station_id": "fern",
            "name": "Fernhill",
            "category": "Hill",
            "capacity": 24,
            "latitude": 41.885,
            "longitude": -87.675,
            "net_bikes": -21,
            "at_6": 21,
            "at_7": 16,
            "at_8": 4,
            "at_815": 0,
            "at_830": 0,
            "at_9": 0
          },
          {
            "station_id": "orchard",
            "name": "Orchard",
            "category": "Hill",
            "capacity": 18,
            "latitude": 41.89,
            "longitude": -87.668,
            "net_bikes": -16,
            "at_6": 18,
            "at_7": 15,
            "at_8": 8,
            "at_815": 5,
            "at_830": 3,
            "at_9": 2
          },
          {
            "station_id": "canal",
            "name": "Canal Street",
            "category": "Downtown",
            "capacity": 24,
            "latitude": 41.88,
            "longitude": -87.637,
            "net_bikes": 21,
            "at_6": 3,
            "at_7": 8,
            "at_8": 20,
            "at_815": 24,
            "at_830": 24,
            "at_9": 24
          },
          {
            "station_id": "market",
            "name": "Market Square",
            "category": "Downtown",
            "capacity": 18,
            "latitude": 41.875,
            "longitude": -87.631,
            "net_bikes": 16,
            "at_6": 2,
            "at_7": 5,
            "at_8": 12,
            "at_815": 15,
            "at_830": 17,
            "at_9": 18
          },
          {
            "station_id": "park",
            "name": "Park",
            "category": "Other areas",
            "capacity": 20,
            "latitude": 41.898,
            "longitude": -87.645,
            "net_bikes": 0,
            "at_6": 10,
            "at_7": 10,
            "at_8": 10,
            "at_815": 10,
            "at_830": 10,
            "at_9": 10
          }
        ],
        "selectionField": "station_id",
        "columns": [
          {
            "key": "name",
            "label": "Station"
          },
          {
            "key": "capacity",
            "label": "Docks"
          },
          {
            "key": "at_6",
            "label": "6 am"
          },
          {
            "key": "at_9",
            "label": "9 am"
          },
          {
            "key": "net_bikes",
            "label": "Net bikes"
          }
        ]
      },
      {
        "id": "evidence",
        "component": "Column",
        "children": [
          "method",
          "records"
        ]
      },
      {
        "id": "method",
        "component": "Text",
        "text": "Net change = count at 9 am minus count at 6 am. Snapshot intervals are not uniform: 6, 7, 8, 8:15, 8:30 and 9 am. Station capacities are included. All inputs are fictional; the example demonstrates composition and interaction."
      },
      {
        "id": "records",
        "component": "clio.data-table.v1",
        "rows": [
          {
            "station_id": "fern",
            "name": "Fernhill",
            "category": "Hill",
            "capacity": 24,
            "latitude": 41.885,
            "longitude": -87.675,
            "net_bikes": -21,
            "at_6": 21,
            "at_7": 16,
            "at_8": 4,
            "at_815": 0,
            "at_830": 0,
            "at_9": 0
          },
          {
            "station_id": "orchard",
            "name": "Orchard",
            "category": "Hill",
            "capacity": 18,
            "latitude": 41.89,
            "longitude": -87.668,
            "net_bikes": -16,
            "at_6": 18,
            "at_7": 15,
            "at_8": 8,
            "at_815": 5,
            "at_830": 3,
            "at_9": 2
          },
          {
            "station_id": "canal",
            "name": "Canal Street",
            "category": "Downtown",
            "capacity": 24,
            "latitude": 41.88,
            "longitude": -87.637,
            "net_bikes": 21,
            "at_6": 3,
            "at_7": 8,
            "at_8": 20,
            "at_815": 24,
            "at_830": 24,
            "at_9": 24
          },
          {
            "station_id": "market",
            "name": "Market Square",
            "category": "Downtown",
            "capacity": 18,
            "latitude": 41.875,
            "longitude": -87.631,
            "net_bikes": 16,
            "at_6": 2,
            "at_7": 5,
            "at_8": 12,
            "at_815": 15,
            "at_830": 17,
            "at_9": 18
          },
          {
            "station_id": "park",
            "name": "Park",
            "category": "Other areas",
            "capacity": 20,
            "latitude": 41.898,
            "longitude": -87.645,
            "net_bikes": 0,
            "at_6": 10,
            "at_7": 10,
            "at_8": 10,
            "at_815": 10,
            "at_830": 10,
            "at_9": 10
          }
        ],
        "selectionField": "station_id",
        "columns": [
          {
            "key": "name",
            "label": "Station"
          },
          {
            "key": "category",
            "label": "Area"
          },
          {
            "key": "capacity",
            "label": "Capacity"
          },
          {
            "key": "at_6",
            "label": "6 am"
          },
          {
            "key": "at_7",
            "label": "7 am"
          },
          {
            "key": "at_8",
            "label": "8 am"
          },
          {
            "key": "at_815",
            "label": "8:15 am"
          },
          {
            "key": "at_830",
            "label": "8:30 am"
          },
          {
            "key": "at_9",
            "label": "9 am"
          },
          {
            "key": "net_bikes",
            "label": "Net bikes"
          },
          {
            "key": "station_id",
            "label": "Station ID"
          },
          {
            "key": "latitude",
            "label": "Latitude"
          },
          {
            "key": "longitude",
            "label": "Longitude"
          }
        ]
      }
    ],
    "data_model": {
      "camera": {
        "longitude": -87.655,
        "latitude": 41.886,
        "zoom": 12
      }
    },
    "catalog_id": "",
    "source_surface_ids": []
  },
  "definition_path": "bike-station-report.json",
  "sources": []
}