in analysis/analyze.py [0:0]
def plotSizeVsParams(dat, x, size="sketch_size"):
chart = alt.Chart(dat).mark_point(size=10, opacity=0.3).encode(
x=f"{x}:Q",
y=alt.Y(f'{size}:Q', title=size),
color=alt.Color('sketch_name'),
)
chart = chart + chart.transform_loess(f'{x}', f'{size}', groupby=['sketch_name']).mark_line(size=4)
return chart