In [ ]:
from lets_plot import *
In [ ]:
LetsPlot.setup_html()
In [ ]:
lat = [48.979166, 48.936053, 29.875645, 35.309947]
lon = [-102.492420, -80.237456, -114.032789, -123.242456]
values = [700, 800, 1500, 200, 500]
In [ ]:
data = dict(y_start=lat[0:2], x_start=lon[0:2], y_end=lat[2:4], x_end=lon[2:4])
In [ ]:
ggplot(data) \
    + geom_livemap() \
    + geom_segment(aes(x='x_start', y='y_start', xend='x_end', yend='y_end', color='y_end'), size=1, linetype=2) \
    + ggtitle('Segments on livemap')
In [ ]: