Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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