input: Write a python function to create a simple Flask application that fetches and displays data from a SQLite database.
  assert fetch_and_display_data() is not None
output: from flask import Flask, jsonify
  import sqlite3
  
  app = Flask(__name__)
  
  def fetch_and_display_data():
      conn = sqlite3.connect('example.db')
      cursor = conn.cursor()
      cursor.execute('SELECT * FROM your_table')
      data = cursor.fetchall()
      conn.close()
      return data
  
  @app.route('/data', methods=['GET'])
  def display_data():
      data = fetch_and_display_data()
      return jsonify(data)
  
  if __name__ == '__main__':
      app.run(debug=True)