Show Sidebar Hide Sidebar

Dropdown Events in Pandas

How to add dropdowns to Pandas charts with JavaScript.

# Learn about API authentication here: https://plot.ly/pandas/getting-started
# Find your api_key here: https://plot.ly/settings/api

import plotly.plotly as py
layout = dict(        
        geo = dict(
            projection = dict( 
                type = 'orthographic'            
            )
        )
    )
    
fig = dict( data=[dict(type = 'scattergeo')], layout=layout )
url = py.plot( fig, validate=False, filename='d3-globe-empty' )
Still need help?
Contact Us

For guaranteed 24 hour response turnarounds, upgrade to a Developer Support Plan.