def METHOD_NAME(start_d, end_d, msmts, changes, title):
    """Render measurements and changes into a SVG chart
    :returns: dict
    """
    assert isinstance(msmts[0][0], datetime)
    x1 = 100
    x2 = 1100
    y1 = 50
    y2 = 300
    # scale x
    delta = (end_d - start_d).total_seconds()
    assert delta != 0
    x_scale = (x2 - x1) / delta
    return dict(
        msmts=msmts,
        changes=changes,
        x_scale=x_scale,
        start_d=start_d,
        end_d=end_d,
        x1=x1,
        x2=x2,
        y1=y1,
        y2=y2,
        title=title,
    )