Code
import altair as alt
from vega_datasets import data
# Getting Iris Data
= data.iris() iris
import altair as alt
from vega_datasets import data
# Getting Iris Data
= data.iris() iris
\
alt.Chart(iris)\
.mark_point()
.encode(= 'petalLength',
x = 'sepalLength',
y = 'species'
color \
) .interactive()