Skip to content

Commit adfac45

Browse files
steverenjeff-allen-mongo
authored andcommitted
DOCSP-4579: [Charts] Update top-level Geospatial chart type placeholder (#147)
* DOCSP-4579: [Charts] Update top-level Geospatial chart type placeholder
1 parent c0044e5 commit adfac45

File tree

7 files changed

+130
-57
lines changed

7 files changed

+130
-57
lines changed

source/chart-type-reference/geo-spatial.txt

Lines changed: 42 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -14,76 +14,63 @@ Geospatial Charts
1414
:depth: 1
1515
:class: singlecol
1616

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>`.
1826

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>`.
2131

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::
2533

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>`
2936

30-
Custom Color Palette
31-
~~~~~~~~~~~~~~~~~~~~
37+
.. _choropleth-description:
3238

33-
The color palette specifies the range of colors that corresponds to
34-
relative aggregated values in your map.
39+
Choropleth
40+
----------
3541

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.
4246

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
4550

46-
Automatically Set Viewport
47-
~~~~~~~~~~~~~~~~~~~~~~~~~~
51+
.. _scatter-description:
4852

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+
-------
5455

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.
5858

59-
.. note::
59+
.. figure:: /images/charts/geo-type-scatter.png
60+
:figwidth: 700px
61+
:alt: Scatter chart example
6062

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:
6364

64-
Opacity
65-
~~~~~~~
65+
Heatmap
66+
-------
6667

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.
7070

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
8774

8875
.. class:: hidden
8976

source/chart-type-reference/geospatial-heatmap.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ Coordinates
4242
~~~~~~~~~~~
4343

4444
A :guilabel:`geopoint` encoding channel which defines the map
45-
area of the chart. See the :ref:`Geopoint <geopoint>` reference page
46-
for more information about what types of data you can use in this
45+
area of the chart. See the :ref:`Geopoint <geopoint-channel>` reference
46+
page for more information about what types of data you can use in this
4747
channel.
4848

4949
Intensity

source/customize-charts.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ Value Axis Options
3838
values. These options only affect the chart's axes, and not how
3939
|charts-short| formats data points in the visualization.
4040

41+
Geospatial Customization Options
42+
:ref:`Geospatial customization options <geospatial-customization>`
43+
modify options specific to :ref:`geospatial charts
44+
<geo-spatial-charts>`, including viewport options, data marker size
45+
and opacity, and heatmap radius.
46+
4147
To customize a chart, click the :guilabel:`Customization` tab above the
4248
:ref:`encoding channels <encoding-channels>` in the
4349
:doc:`Chart Builder </build-charts>`:
@@ -56,3 +62,4 @@ Your chart automatically updates as you modify customization options.
5662
/customize-charts/general-customization
5763
/customize-charts/field-level-options
5864
/customize-charts/value-axis-options
65+
/customize-charts/geospatial-customization
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
.. _geospatial-customization:
2+
3+
================================
4+
Geospatial Customization Options
5+
================================
6+
7+
.. default-domain:: mongodb
8+
9+
.. contents:: On this page
10+
:local:
11+
:backlinks: none
12+
:depth: 1
13+
:class: singlecol
14+
15+
To access the available customizations for any chart, click the
16+
:guilabel:`Customization` tab above the :ref:`encoding channels
17+
<encoding-channels>` in the :doc:`Chart Builder </build-charts>`.
18+
19+
.. figure:: /images/charts/geospatial-customization-tab.png
20+
:figwidth: 242px
21+
:alt: Geospatial customization tab
22+
23+
Custom Color Palette
24+
--------------------
25+
26+
The color palette specifies the range of colors that corresponds to
27+
relative aggregated values in your map.
28+
29+
:ref:`Geospatial Scatter <scatter-ref>` charts use a discrete color
30+
picker, and :ref:`Geospatial Heatmap <geospatial-heatmap-type>` and
31+
:ref:`Choropleth <choropleth-ref>` charts use a gradient color picker,
32+
but the mechanism to enable customization is the same. To enable
33+
palette customization, toggle the :guilabel:`Custom Color Palette`
34+
switch in the :guilabel:`General Customization` section.
35+
36+
For more information, see :ref:`Color Palette Customization
37+
<color-palette-customization>`.
38+
39+
Automatically Set Viewport
40+
--------------------------
41+
42+
By default, geospatial charts show a map which includes all the data
43+
point markers in your specified collection. You can pan and zoom to
44+
change the map view, but if you close the chart and re-open it the map
45+
reverts to its default state. This behavior is controlled by the
46+
:guilabel:`Automatically Set Viewport` option.
47+
48+
When you toggle the :guilabel:`Automatically Set Viewport` switch to
49+
``Off``, the area and zoom level at which the map is saved becomes the
50+
new default view.
51+
52+
.. note::
53+
54+
You can pan and zoom the map area in a chart on a dashboard, but
55+
these changes do not affect the default map view.
56+
57+
Opacity
58+
-------
59+
60+
The :guilabel:`Opacity` level of a map modifies the degree to which
61+
the chart's map data shows through the data point markers. This
62+
setting is available on all geospatial charts.
63+
64+
On :ref:`Geospatial Heatmap <geospatial-heatmap-type>` and
65+
:ref:`Choropleth <choropleth-ref>` charts, the :guilabel:`Opacity`
66+
level defaults to 100%. On :ref:`Geospatial Scatter <scatter-ref>`
67+
charts, it defaults to 20%.
68+
69+
Radius
70+
------
71+
72+
.. include:: /includes/radius-description.rst
73+
74+
Stroke Thickness
75+
----------------
76+
77+
:ref:`Scatter <scatter-ref>` charts provide the customization option
78+
to set the :guilabel:`Stroke Thickness`, measured in pixels, of the
79+
map's data point markers. This setting defaults to ``2``.
272 KB
Loading
489 KB
Loading
279 KB
Loading

0 commit comments

Comments
 (0)