def convert_years_to_scale(data):
   """Converts the actual years in B.C./A.D. to a scale usable in a plot."""
   # Get the years.
   return {key: value for key, value in zip(data.keys(), range(len(data.keys())))}