Line Chart¶
2x Numeric Data¶
In [309]:
ggplot (mydf.head(15), aes(x='value1', y='value2')) + geom_line()
Out[309]:
<ggplot: (189812907030)>
1x Numeric, 1x Categorical¶
In [308]:
ggplot (mydf.head(15), aes(x='dept', y='value1')) + geom_line()
Out[308]:
<ggplot: (189812880904)>
In [307]:
ggplot (mydf.head(30), aes(x='dept', y='value1')) + geom_line( aes(group=1))
Out[307]:
<ggplot: (-9223371847041911790)>
2x Numeric, 1x Categorical¶
In [306]:
ggplot (mydf.head(15), aes(x='value1', y='value2')) + geom_line( aes(color='grp'),size=2)
Out[306]:
<ggplot: (189812419027)>