-
-
Save amankharwal/02d65042427dcd6dc81a5521b2e06474 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
figure = go.Figure(data=go.Choropleth(locations=data["code"], | |
z = data["total exports"].astype(float), | |
locationmode="USA-states", | |
colorscale="Reds", | |
colorbar_title="Millions USD")) | |
figure.update_layout(title_text="US Agriculture Exports", geo_scope='usa') | |
figure.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment