How to visualize a data like point (x,y) and for each point there is some temperature associated to it

90 views Asked by At
df.head() 
x y temperature
0 14.15 49.58 47.5
1 13.30 34.77 41.4
2 12.53 42.70 32.7
3 11.74 45.77 34.6
4 18.98 42.70 70.7
opts1 = hv.opts.RGB(width=1700, height=800)
df_ds = datashade(
    hv.Points(df),
    cmap=cc.CET_L4,
    kdims=["x", "y"],
    label="xy cordinate values",
    colorbar=True,
    min_alpha=0.3,
).opts(tools=["hover", "box_zoom"])
df_ds.opts(opts1)

enter image description here

Where I can show the temperature value and associate a color map to the temperature?

I looked at the docs but could not figure it out.

0

There are 0 answers