def graphFormatter(source):
    """Formats the data as the Pie Chart creator requires for graphing."""
    formatted = []
    for i in source.items():
        formatted.append({
            'label': i[0],
            'data': i[1],
        })

    return formatted