Indexed stocks
Line plot of stock prices normalized to various basis (first, last, min, max, mean, median, sum, deviation, extent).
<Plot
color={{ legend: true }}
y={{ grid: true, percent: true }}>
<RuleY y={1} />
<Line
outlineStroke="var(--svelteplot-bg)"
markerEnd="dot"
curve="monotone-x"
{...normalizeY(
{
data: tech7,
x: 'date',
y: 'adj_close',
stroke: 'symbol'
},
'first'
)} />
</Plot>