plotly_express
plotly_express copied to clipboard
plotly express shows Invalid property latitude for choropleth map plot
I am using these dataset " dataset tempat perlancongan Malaysia.csv" . In that I'm Passing the latitude and longitude for plotting the plot plot for spatial coordinate vs numerical feature . I am giving the Input as follows : import plotly.express as px print(df) fig = plotly.express.choropleth(df, lat='Latitude', lon='Longitude', color ='Nama Tempat')
fig.show()
error I got =
ValueError: Invalid property specified for object of type plotly.graph_objs.Choropleth: 'lat'
