I am creating a visualization application with holoviews and panel
As one can see, the line is touching all the points which are not what curve should do. It should only show the curve or border like an area chart without color.
I am building this visualization from the example provided here
columns = sorted(data.columns)
discrete = [x for x in columns if data[x].dtype == object or len(data[x].unique()) < 6]
quantileable = [x for x in columns if x not in discrete or data[x].dtype == '<M8[ns]']
x = pnw.Select(name='X-Axis', value='date', options=quantileable)
y = pnw.Select(name='Y-Axis', value='height_g', options=quantileable)
size = pnw.Select(name='Size', value='None', options=['None'] + quantileable)
@pn.depends(x.param.value, y.param.value, size.param.value)
def create_figure(x, y, size):
if size != 'None':
opts['size'] = hv.dim(size).norm()*5
return hv.Curve(data, [x, y], label="%s vs %s" % (x.title(), y.title()))
widgets = pn.WidgetBox(x, y, size, width=200)
pn.Row(widgets, create_figure).servable('Cross-selector')
How can I make it look clutter-free?