Show Sidebar Hide Sidebar

Make a Choropleth Map with Plotly and Excel

Choropleth Maps with Plotly

Step 1

Upload your Excel data to Plotly's grid

Open the data file for this tutorial in Excel. You can download the file here in CSV format

Step 2

Head to Plotly

Head to Plotly's Workspace and sign into your free Plotly account. Go to 'Import', click 'Upload a file', then choose your Excel file to upload. Your Excel file will now open in Plotly's grid. For more about Plotly's grid, see this tutorial

Import data

Step 3

Creating Your Chart

Head to the 'MAKE A PLOT' dropdown and select 'Choropleth map.'In this case, we'll only need the 'USA State Abbreviations' and total export value. Set the state abbreviations as 'l' and total export value as 'v.'

Labeling

Your plot would initially look something like this. You aren't too far from being done now.

Origina

The color scheme automatically generated by Plotly can be changed within the TRACES popover. Head to the 'style' dropdown, and select your ideal scale.

Style

Step 4

Finalizing Your Graph

We’ve titled our chart. You can too. We came up with '2011 U.S. Agriculture Exports by State.' Also, you can title your color bar. It is in 'Millions of USD.'

Title

You can download your finished Plotly graph to embed in your Excel workbook. We also recommend including the Plotly link to the graph inside your Excel workbook for easy access to the interactive Plotly version. Get the link to your graph by clicking the 'Share' button. Download an image of your Plotly graph by clicking EXPORT on the toolbar.

Export

To add the Excel file to your workbook, click where you want to insert the picture inside Excel. On the INSERT tab inside Excel, in the ILLUSTRATIONS group, click PICTURE. Locate the Plotly graph image that you downloaded and then double-click it. Notice that we also copy-pasted the Plotly graph link in a cell for easy access to the interactive Plotly version.

Excel

Still need help?
Contact Us

For guaranteed 24 hour response turnarounds, upgrade to our Premium or Enterprise plans.