code: def display_page(pathname):
      """Routes to page based on URL"""
      if pathname == "/compare":
          return comparison_layout
      else:
          return index_page
  
imports: import pathlib
  import dash
  import dash_core_components
  import dash_html_components
  import numpy
  import pandas
  import plotly.express
  import plotly.graph_objects
  from dash.dependencies import Input, Output
  from load_data import get_aggregated_data, get_available_dates
  from plotly.subplots import make_subplots
label_desc: Use image node_id 14 for calling a global function with example usage: display_page(pathname) and returns: comparison_layout, index_page