Skip to content

Instantly share code, notes, and snippets.

@hunterowens
Created September 30, 2018 23:39
Show Gist options
  • Save hunterowens/440244bd93f361477d1651bd36a72c3d to your computer and use it in GitHub Desktop.
Save hunterowens/440244bd93f361477d1651bd36a72c3d to your computer and use it in GitHub Desktop.
Altair Example
import pandas as pd
import altair as alt
plot_series = df.groupby('Fiscal Year')['cost'].sum()
alt.Chart(plot_series).mark_line().encode(
x='??',
y='??'
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment