code: def geojson_to_dict_list(data):
      """Parse GeoJSON-formatted information in <data> to list of Python dicts"""
  
      # return data formatted as list or dict
      if type(data) in (list, dict):
          return data
  
      # read from data defined as local file address
      try:
          with open(data, "r") as f:
              features = json.load(f)["features"]
  
      # if data is defined as a URL, load JSON object from address
      except IOError:
          features = requests.get(data).json()["features"]
  
      except:
          raise SourceDataError(
              "MapViz data must be valid GeoJSON or JSON.  Please check your <data> parameter."
          )
  
      return [feature["properties"] for feature in features]
  
imports: import base64
  import codecs
  import datetime
  from io import BytesIO
  import json
  import re
  from chroma import Color, Scale
  from colour import Color
  import geojson
  from matplotlib.image import imsave
  import requests
  from .colors import color_ramps, common_html_colors
  from .errors import SourceDataError, DateConversionError
label_desc: Use image node_id 3 for calling a global function with example usage: geojson_to_dict_list(data) and returns: unknown, data