code: def _create_data_with_values(N):
      data = {"values": [{"x": i, "y": i + 1} for i in range(N)]}
      return data
  
file_path: altair/tests/utils/test_data.py
imports: import os
  import pytest
  import pandas
  from toolz import pipe
  from altair.utils.data import limit_rows, MaxRowsError, sample, to_values, to_json, to_csv
label_desc: Use image node_id 2 for calling a global function with example usage: _create_data_with_values(N) and returns: data