In [1]:
import altair as alt
alt.renderers.enable('notebook')


Out[1]:
RendererRegistry.enable('notebook')

In [2]:
df = alt.load_dataset('iris')
df.head()


Out[2]:
sepalLength sepalWidth petalLength petalWidth species
0 5.1 3.5 1.4 0.2 setosa
1 4.9 3.0 1.4 0.2 setosa
2 4.7 3.2 1.3 0.2 setosa
3 4.6 3.1 1.5 0.2 setosa
4 5.0 3.6 1.4 0.2 setosa

In [3]:
from altair_widgets import interact_with
w = interact_with(df, ndims=3)


246petalLength0.00.51.01.52.02.53.03.54.04.5sepalWidthsetosaversicolorvirginicaspecies

In [ ]: