

def get_gviz_json(obj):
    '\n    Returns JSON data of Google Visualization API\n    '
    description = {
        'lang': ('string', 'Language'),
        'trans': ('number', 'Translated'),
    }
    data = []
    for stat in get_sorted_stats(obj):
        trans = stat.translated_perc
        data.append({
            'lang': stat.language.name,
            'trans': trans,
        })
    data_table = gviz_api.DataTable(description)
    data_table.LoadData(trans)
    return data_table.ToJSonResponse(columns_order=('lang', 'trans'))

dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/addons/charts/views.py get_gviz_json/VarMisuse@94/150 `data`->`trans`