[Visualization] Quick Guide to Creating Maps

vividime-Club Show all floors Published on 2024-12-19 17:59:25 |Reading mode print Previous Topic Next Topic
1
Unresolved

【Visualization】 Quick Guide to Creating Maps

1155 1
Quick Start
reply

Using props report

Exciting comments1

vividime-Club Show all floors Published on 2024-12-19 17:59:33
1. Overview
This section will guide you to quickly create a map component.
2. Step
➢Scenario 1:
Analyze the coffee sales in different provinces in each region, the basic steps are as follows:
1) Create a dataset
Connect to a database or a local file, etc., and create a new dataset, which needs to contain geotext data (country, province, city, etc.) or georeferenced data (latitude and longitude coordinates), such as the provinces in the following figure:
2) New Map Component
Click the top menu New Anasis Dashboard, select a map component from the right side of the Component, drag and drop it into the canvas, for example, drag and drop the Map component into the data binding mode.
3) Edit map column data
To create a map, you must have a map column or a latitude/longitude column (mesurement), if you don't have these two types of data, you need to prepare the map data.
For example, in most cases, the data type of latitude and longitude fields should be numeric (decimal) and the data type should be mesurement, you can select the appropriate mesurement column for latitude and longitude, and the data type of all other geographic fields should be string and the data roles should be dimensions, which can be converted to map columns.
4) Assigning or editing map data
Select a geographic field in the dataset field list, for example, "Province", click the More button behind the field, and drop down to select Convert to Map Column, as shown below:
Match geographic data in the "Map Setting" pop-up window, as shown below.
Open the Geo Data Matching dialog box to match the geographic data, as shown below.
Please refer toMap Column for detailed configuration notes.
After setting up the province map column, we also need to set up the customized region for the province, the map settings are as follows:
In the Custom Setting pop-up window, group the provinces to Northeast China, East China, Central China, etc., as shown in the figure below:
Please refer to Customize Region for detailed configuration notes.
5) Bind map columns or coordinates
Support directly binding latitude and longitude or graph, such as country, province, city and other data directly bound to the graph area, as follows:
➢Note:
V94 and later versions, built-in maps and GIS maps, the geographic data binding area is unified to the graph area, i.e., the latitude and longitude columns and graph columns are all directly dragged and dropped to the graph area to bind them, and the previous columns and rows area can be dragged and dropped into the dimensional data, which is used to make multi-axis maps.
Drag and drop the map columns "Grouped Region" and "Province" with matched geographic data to the graph binding area of the map component, as shown in the following figure:
6) Set render type
Take the built-in map component as an example, drop down the bound " Region" to select the regional map, and drop down "Province" to select the point map, the effect is as follows:
7) Add Analyzed Data
You can bind the mesurement or dimension data to the tagged group area to compare and analyze the data through the map, and you can bind different mesurements or dimensions for different levels: the first level is the grouping area (area map), you can distinguish the sales_total with color, and the label shows the grouping area and sales_total;
The second layer is province (point map), you can distinguish sales_total of different provinces by the size of the point, in order to make the chart more beautiful, we can set the color and shape, please refer to Marker Group for detailed settings. For example, set the shape as Shopping Cart, as shown below:
The beautified chart is as follows:
You can clearly see the sales of different provinces in each region on the map.
➢Scenario 2:
Analyze the sales of different stores in each province.
The geographic coordinates of each store are determined by latitude and longitude, and the data is as follows:
You can bind the province to the graph area as the first layer, and then bind the store's latitude and longitude coordinates.
When binding latitude/longitude columns, you can directly drag one of the columns to the graph area, and a popup window "New Latitude/Longitude graph Column" will appear, in which you need to define the latitude/longitude of the coordinate points, as shown in the following figure:
Then set the area map and point map respectively, and then set the color, shape, label, etc., as shown below:
The beautified chart is as follows:
You can clearly see the sales of different stores from the map.
In this way, a map component is finished, for different types of map components, you may need to perform some specific operations, the detailed operation can be referred to the introduction of the later chapters.

reply

Using props report

Advanced mode
You need to log in before you can reply to the post login | Free registration

© 2024 VIVIDATA PTE. LTD. All Rights Reserved. Privacy Statement