from vega_datasets import data

df = data.seattle_weather()
df.head()
            date  precipitation  ...  wind  weather
    0 2012-01-01            0.0  ...   4.7  drizzle
    1 2012-01-02           10.9  ...   4.5     rain
    2 2012-01-03            0.8  ...   2.3     rain
    3 2012-01-04           20.3  ...   4.7     rain
    4 2012-01-05            1.3  ...   6.1     rain
    
    [5 rows x 6 columns]

and

import altair as alt

alt.Chart(df).mark_tick().encode(
    x='precipitation',
)