Multi Series Line Chart

< Line Chart | Example Gallery | Slope Graph >

from altair import *

Chart(Data(
    format=DataFormat(
        type='csv',
    ),
    url='https://vega.github.io/vega-lite/data/stocks.csv',
),
    description='Stock prices of 5 Tech Companies Over Time.',
).mark_line().encode(
    color='symbol:N',
    x='date:T',
    y='price:Q',
)