from pyecharts.charts import Map, Geo
from pyecharts import options as opts
from pyecharts.globalsimport ChartType,SymbolType, GeoType
import pandas as pd
data = pd.read_csv("TitaniclocA.csv")
home =list(data["home"])
longitude_h =list(data["longitude_h"])
latitude_h =list(data["latitude_h"])
location_h_values =list(zip(longitude_h,latitude_h))
dest =list(data["dest"])
longitude_d =list(data["longitude_d"])
latitude_d =list(data["latitude_d"])
location_d_values =list(zip(longitude_d,latitude_d))
home_dest =list(zip(home,dest))