def _bigquery_type_to_charts_type(typename):
  """Convert bigquery type to charts type."""
  typename = typename.lower()
  if typename == "integer" or typename == "float":
    return "number"

  if typename == "timestamp":
    return "date"

  return "string"