@@ -16,11 +16,12 @@ Geospatial Scatter Chart
16
16
Overview
17
17
--------
18
18
19
- Geospatial scatter charts distribute data from a data source across geographical locations,
20
- and, optionally, color the data points based on the database field of your choice and scale
21
- the size of data points. The sample images in the next section demonstrate
22
- how to construct a geospatial scatter chart to locate the nighborhoods in NYC with the most rooms available
23
- at a specified price.
19
+ Geospatial scatter charts distribute data from a data source across
20
+ geographical locations, and, optionally, color the data points based on
21
+ the database field of your choice and scale the size of data points.
22
+ The sample images in the next section demonstrate how to construct a
23
+ geospatial scatter chart to locate the neighborhoods in NYC with the most
24
+ rooms available at a specified price.
24
25
25
26
Encoding Channels
26
27
-----------------
@@ -53,30 +54,35 @@ channel.
53
54
Color
54
55
~~~~~
55
56
56
- (*Optional*) The :guilabel:`Color` encoding channel changes the color of the data points to
57
- categorize the displayed geopoints by the value of the selected collection field. |charts| lists
58
- the colors used in a key to the right of the chart. In the image below, the ``property_type``
59
- distributes the property types in NYC by color. The key to the right of the chart indicates
60
- green for guest suites and dark blue for apartments, for example.
61
- However, all of the circles are still the same size since we have
62
- not yet specified a field for the :guilabel:`Size` encoding channel.
57
+ (*Optional*) The :guilabel:`Color` encoding channel changes the color of
58
+ the data points to categorize the displayed geopoints by the value of
59
+ the selected collection field. |charts| lists the colors used in a key
60
+ to the right of the chart. In the image below, the ``property_type``
61
+ distributes the property types in NYC by color. The key to the right of
62
+ the chart indicates green for guest suites and dark blue for apartments,
63
+ for example. However, all of the circles are still the same size since
64
+ we have not yet specified a field for the :guilabel:`Size` encoding
65
+ channel.
63
66
64
67
.. figure:: /images/charts/geospatial-scatter-color-example.png
65
68
66
69
Size
67
70
~~~~
68
71
69
- (*Optional*) The :guilabel:`Size` aggregation encoding channel changes the size of the
70
- data point markers, with larger sizes indicating larger aggregated values. The image below
71
- uses the mean of the ``weekly_price`` collection field to aggregate all instances of the geopoint that you
72
- chose for the :guilabel:`Coordinates` encoding channel. The key to right of the chart
73
- indicates the aggregation value for the different circle sizes.
72
+ (*Optional*) The :guilabel:`Size` aggregation encoding channel changes
73
+ the size of the data point markers, with larger sizes indicating larger
74
+ aggregated values. The image below uses the mean of the ``weekly_price``
75
+ collection field to aggregate all instances of the geopoint that you
76
+ chose for the :guilabel:`Coordinates` encoding channel. The key to right
77
+ of the chart indicates the aggregation value for the different circle
78
+ sizes.
74
79
75
80
.. figure:: /images/charts/geospatial-scatter-size-example.png
76
81
77
82
.. note::
78
83
79
- If no fields are encoded in the :guilabel:`Size` encoding channel, |charts-short| displays all points with the same size.
84
+ If no fields are encoded in the :guilabel:`Size` encoding channel,
85
+ |charts-short| displays all points with the same size.
80
86
81
87
82
88
Build a Geospatial Scatter Chart
0 commit comments