A geochart is a map of a country, a continent, or a region with areas identified in one of three ways:
- The region mode colors whole regions, such as countries, provinces, or states.
- The markers mode uses circles to designate regions that are scaled according to a value that you specify.
- The text mode labels the regions with identifiers (e.g., "Russia" or "Asia").
(
see the doc of Google)
Data format
The format of the DataTable varies depending on which display mode that you use: regions, markers, or text. see details
Regions mode format
Column |
Type |
Description |
0 |
String, Required |
Region location. See details. |
1 |
Number, Optional |
Region color. An optional numeric column used to assign a color to this region, based on the scale specified in the colorAxis.colors property. If this column is not present, all regions will be the same color. If the column is present, null values are not allowed. Values are scaled relative to the sizeAxis.minValue/sizeAxis.maxValue values, or to the values specified in the colorAxis.values property, if provided. |
Markers mode format : address
Column |
Type |
Description |
0 |
String, Required |
Marker location (for example, "1600 Pennsylvania Ave"). |
1 |
Number, Optional |
Marker color |
2 |
Number, Optional |
Marker size |
Markers mode format : latitude & longitude
Column |
Type |
Description |
0 |
Number, Required |
Latitude |
1 |
Number, Required |
Longitude |
2 |
Number, Optional |
Marker color |
3 |
Number, Optional |
Marker size |
Text mode format
Column |
Type |
Description |
0 |
String, Required |
Text label |
1 |
Number, Optional |
Text size |
Chart options
Each option is separated by a '|' or '!' (for Mediawiki).
Name |
Default |
Description |
width |
100% |
Chart width |
height |
|
Chart height |
Others... |
|
You can use the configuration options of Google. See the doc |
Example
List of countries ordered by the number of their cities with female mayor