code: def vegalite_spec():
      return {
          "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
          "description": "A simple bar chart with embedded data.",
          "data": {
              "values": [
                  {"a": "A", "b": 28},
                  {"a": "B", "b": 55},
                  {"a": "C", "b": 43},
                  {"a": "D", "b": 91},
                  {"a": "E", "b": 81},
                  {"a": "F", "b": 53},
                  {"a": "G", "b": 19},
                  {"a": "H", "b": 87},
                  {"a": "I", "b": 52},
              ]
          },
          "mark": {"type": "bar"},
          "encoding": {
              "x": {"field": "a", "type": "ordinal"},
              "y": {"field": "b", "type": "quantitative"},
          },
      }
  
file_path: altair/tests/utils/test_mimebundle.py
imports: import pytest
  import altair
  from altair import VEGA_VERSION
  from altair.utils.mimebundle import spec_to_mimebundle
label_desc: Use image node_id 1 for calling a global function with example usage: vegalite_spec() and returns: dict