I'd like to have an encoded SVG path for each point I'm plotting on an Altair plot. Say I have a list of points:
points = [p1, p2, p3, ..., pn]
and each point is defined as:
p1 = {
'x': x1,
'y': y1,
'svg_path': 'M x1 y1 C x1c y1c, x2c y2c, x2 y2'
}
And I'd like each of these paths to be plotted on an altair chart as follows:
alt.Chart(points).mark_point().encode(
x='x:Q',
y='y:Q',
shape='shape:N'
)
This gives categorical shapes for each point. Is it possible to use the string for a shape in an Encoding, so each point can have a different svg path?
