UNIT-4
UNIT-4
Creating a Standard Map View:
A standard map view is used to visualize geographic data (e.g., sales by region, population distribution) without requiring latitude/longitude values.
Steps to Create a Standard Map View:
Step-1: Open the Tableau window import the Retail Sales data and connect.
Step-2: Open new work sheet, now double click on states.
Step-3: Now we add, sales and right click then select average under measure (sum) in the popup box.
Step-4: Now select Maps under Show Me.
If you need to beautify the map then select colors under mark pane, select edit colors and then select Red Gold Green divergent in the drop button, click apply and then click ok.
If you need to Profit also in the Sales view drag and drop the profits into sizes under Marks view. You will see red color with low values and green color with high values state wise.
Plotting Custom Locations on a Map:
This feature is useful when standard geographic fields (city, state) are not available and you need to plot locations using latitude and longitude.
Steps to Plot Custom Locations:
Step-1: Open the Tableau window. Connect the data (Indian cities)
Step-2: Drag Longitude to the Columns shelf. Latitude to the Rows shelf.
Step-3: Convert to a Map View. Change the Marks type to Circle.
Step-4: Enhance the Visualization
- Drag city Name to Label to show city names.
- Drag Sales to Color to represent performance.
Replacing Tableau’s Standard Maps:
To improve map aesthetics by replacing Tableau’s default background maps with custom Map box, WMS, or shapefiles.
Steps to Replace Tableau Maps with Mapbox:
- Go to Map → Background Maps → Map Services
- Select Add → Mapbox Maps / WMS Maps
- Sign up at Mapbox.com and get an API key.
- Choose a Map Style
- Options include Satellite, Street, Light, Dark, Custom Themes.
- Apply and Customize
- Adjust color schemes, layers, and labels for better visualization.
Shaping Data for Point-to-Point Mapping
To visualize connections between two locations (e.g., airline routes, delivery routes, migration paths). Steps to Create a Point-to-Point Map:
1. Load the Dataset
o Ensure your dataset has origin and destination latitude/longitude values.
2. Create Dual Axis Map
o Drag Longitude to Columns (twice) to create two map layers.
o Drag Latitude to Rows.
o Right-click the second Longitude axis → Select Dual Axis.
3. Plot Start and End Points:
o On the first layer, set the Marks type to Circle (for locations).
o On the second layer, set Marks type to Line (for routes).
o Drag Route ID to the Path shelf to connect points.
4. Enhance the Visualization
o Drag Distance to Size (thicker lines for longer routes).
o Use Color to differentiate routes.







Comments
Post a Comment