def _normalize(data):
    """
	Helper function to normalize data between [0.0, 100.0].
	This is based on largest value found. If the values for individual terms
	are not summed across terms, then this is the largest value among all terms
	as well.
	"""
    maxVal = 0.0
    for i, line in enumerate(data):
        for j in range(1, len(line)):
            if line[j] > maxVal:
                maxVal = line[j]
    trend = []
    for line in data:
        newLine = []
        newLine.append(line[0])
        for j in range(1, len(line)):
            norm = line[j] * 100
            norm /= maxVal
            norm = round(norm, 3)
            newLine.append(norm)
        trend.append(newLine)
    return trend
