@@ -14,76 +14,63 @@ Geospatial Charts
14
14
:depth: 1
15
15
:class: singlecol
16
16
17
- Placeholder description for the geospatial chart type.
17
+ Geospatial data defines specific geographical
18
+ locations, either in the form of latitude and longitude
19
+ coordinates or text fields with names of geographical areas,
20
+ such as countries or states. Geospatial charts combine
21
+ geospatial data with other forms of data to create map-based
22
+ charts. MongoDB collections can store geospatial data as
23
+ :manual:`GeoJSON objects </geospatial-queries/#geospatial-geojson>`
24
+ or as :manual:`legacy coordinate pairs
25
+ </geospatial-queries/#geospatial-legacy>`.
18
26
19
- Customization
20
- -------------
27
+ Geospatial charts can visualize geospatial data in a variety
28
+ of chart formats, including :ref:`choropleth
29
+ <choropleth-description>`, :ref:`scatter <scatter-description>`,
30
+ and :ref:`heatmap <heatmap-description>`.
21
31
22
- To access the available customizations for any chart, click the
23
- :guilabel:`Customization` tab above the :ref:`encoding channels
24
- <encoding-channels>` in the :doc:`Chart Builder </build-charts>`.
32
+ .. seealso::
25
33
26
- .. figure:: /images/charts/geospatial-customization-tab.png
27
- :figwidth: 242px
28
- :alt: Geospatial customization tab
34
+ - :ref:`Geopoint encoding channel type <geopoint-channel>`
35
+ - :ref:`Geospatial chart customization <geospatial-customization>`
29
36
30
- Custom Color Palette
31
- ~~~~~~~~~~~~~~~~~~~~
37
+ .. _choropleth-description:
32
38
33
- The color palette specifies the range of colors that corresponds to
34
- relative aggregated values in your map.
39
+ Choropleth
40
+ ----------
35
41
36
- :ref:`Geospatial Scatter <scatter-ref>` charts use a discrete color
37
- picker, and :ref:`Geospatial Heatmap <geospatial-heatmap-type>` and
38
- :ref:`Choropleth <choropleth-ref>` charts use a gradient color picker,
39
- but the mechanism to enable customization is the same. To enable
40
- palette customization, toggle the :guilabel:`Custom Color Palette`
41
- switch in the :guilabel:`General Customization` section.
42
+ :ref:`Choropleth charts <choropleth-ref>` use predefined :ref:`shapes
43
+ <choropleth-shape-scheme>` for geographical areas, e.g. the countries
44
+ of the world, or the states of the United States. They are useful for
45
+ comparing aggregated values across defined geographical areas.
42
46
43
- For more information, see :ref:`Color Palette Customization
44
- <color-palette-customization>`.
47
+ .. figure:: /images/charts/geo-type-choropleth.png
48
+ :figwidth: 700px
49
+ :alt: Choropleth chart example
45
50
46
- Automatically Set Viewport
47
- ~~~~~~~~~~~~~~~~~~~~~~~~~~
51
+ .. _scatter-description:
48
52
49
- By default, geospatial charts show a map which includes all the data
50
- point markers in your specified collection. You can pan and zoom to
51
- change the map view, but if you close the chart and re-open it the map
52
- reverts to its default state. This behavior is controlled by the
53
- :guilabel:`Automatically Set Viewport` option.
53
+ Scatter
54
+ -------
54
55
55
- When you toggle the :guilabel:`Automatically Set Viewport` switch to
56
- ``Off``, the area and zoom level at which the map is saved becomes the
57
- new default view.
56
+ :ref:`Scatter charts <scatter-ref>` use customizable data markers to
57
+ indicate data points on a map.
58
58
59
- .. note::
59
+ .. figure:: /images/charts/geo-type-scatter.png
60
+ :figwidth: 700px
61
+ :alt: Scatter chart example
60
62
61
- You can pan and zoom the map area in a chart on a dashboard, but
62
- these changes do not affect the default map view.
63
+ .. _heatmap-description:
63
64
64
- Opacity
65
- ~~~~~~~
65
+ Heatmap
66
+ -------
66
67
67
- The :guilabel:`Opacity` level of a map modifies the degree to which
68
- the chart's map data shows through the data point markers. This
69
- setting is available on all geospatial charts.
68
+ :ref:`Heatmap charts <heatmap-chart-ref>` use gradations of color
69
+ intensity to compare concentrations of data points on a map.
70
70
71
- On :ref:`Geospatial Heatmap <geospatial-heatmap-type>` and
72
- :ref:`Choropleth <choropleth-ref>` charts, the :guilabel:`Opacity`
73
- level defaults to 100%. On :ref:`Geospatial Scatter <scatter-ref>`
74
- charts, it defaults to 20%.
75
-
76
- Radius
77
- ~~~~~~
78
-
79
- .. include:: /includes/radius-description.rst
80
-
81
- Stroke Thickness
82
- ~~~~~~~~~~~~~~~~
83
-
84
- :ref:`Scatter <scatter-ref>` charts provide the customization option
85
- to set the :guilabel:`Stroke Thickness`, measured in pixels, of the
86
- map's data point markers. This setting defaults to ``2``.
71
+ .. figure:: /images/charts/geo-type-heatmap.png
72
+ :figwidth: 572px
73
+ :alt: Heatmap chart example
87
74
88
75
.. class:: hidden
89
76
0 commit comments