Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

plotly express shows Invalid property latitude for choropleth map plot  #179

@bhavana-khandare

Description

@bhavana-khandare

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'
Screenshot from 2022-09-06 12-16-52

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions