import json


def make_chart(**kwargs):
    """Create a fake chart."""
    data = dict(
        name='somechart',
        width=1,
        height=1,
        family='C3',
        type='line',
        row=1,
        dataSource='...',
    )
    data.update(**kwargs)
    return json.dumps(data)