Building a heatmap in Centricity
Centricity’s heatmaps allow you to display geolocated Pulse data, aggregated by county, during your selected date range. Please note that heatmaps will only run correctly when geographic data is included in the query. To do so, select either the County FIPS or State field from the Geography data model dropdown.
See the Troubleshooting Explore queries documentation page for more details on creating heatmaps in Centricity.
Plot menu options
The Plot tab allows you to select the way that your location data will be plotted. Each choice will have slightly different formatting options, as appropriate for the plot type. In addition, the Plot options are different depending on whether a map layer is defined in the LookML for your dimension.
For heatmap visualizations, the Heatmap Gridlines option adds a border around each of the gridlines used for the heatmap.
For heatmap visualizations, the Heatmap Opacity settings allows you to specify the opacity of the colors used in the heatmap. Type a number between 0 and 1, where 0 means no color and 1 means totally opaque.
Map menu options
Map styles clockwise from top left: Light (No Labels), Dark, Traffic (Day), Satellite
Map Style enables users to change the type of background map, and whether map labels (like cities and streets) should be displayed. This option features a drop-down menu with a list of choices:
Light: Subtle, light-colored map designed to provide geographic context while highlighting your data.
Light (No Labels): Same as Light, except the map omits labels such as city names.
Dark: Subtle, dark-colored map designed to provide geographic context while highlighting your data.
Dark (No Labels): Same as Dark, except the map omits labels such as city names.
Satellite: Map displaying global satellite and aerial imagery.
Satellite (No Labels): Same as Satellite, except the map omits labels such as city names.
Streets: General-purpose map that emphasizes legible styling of road and transit networks.
Outdoors: General-purpose map tailored to hiking, biking, and other outdoor uses.
Traffic (Day): Light-colored map emphasizing transit networks and roads, including current traffic information.
Traffic (Night): Dark-colored map emphasizing transit networks and roads, including current traffic information.
Map Position changes the center point and zoom level of the visible map. There are two options to specify this position:
Fit to Data: Automatically centers and zooms the map such that all the data points of your query are visible.
Custom: Enables you to manually set a Latitude, Longitude, and Zoom Level (higher numbers create a closer zoom level).
If you drag and zoom the map itself to arrive at the view you'd like, these values will automatically be filled in when you choose Custom.
Map Scale Indicator
The Map Scale Indicator enables you to determine whether a map scale will be shown, and, if so, what units you'd like to see:
Metric (m, km)
Imperial (ft, mi)
Metric and Imperial
Allow Panning allows you to determine whether users can reposition the map by dragging it. This feature is allowed by default.
Allow Zooming allows you to decide if a (+/-) button should be displayed in the upper left of the map visualization, allowing users to zoom in and out. This feature is on by default.
Show Full Field Name
Show Full Field Name determines whether to show the view name along with the field name in map tooltips, which are displayed when users click on map data points.
Show Legend lets you determine whether a map legend should be displayed in the lower right of the visualization. The legend shows the color scale you are using, if you've added a measure to your visualization.
The Show Legend option is only available for Points mode, when Marker Color Mode is set to Based on Value.
Show Region Field in Tooltip
Show Region Field in Tooltip allows you to display the region information in the tooltip of the map. Click on a point in the map to see the name of the region.
If your Centricity developer has defined drilling options for the dimension, you can click the region name to drill further into the data.
Draw Map Labels Above Data
Draw Map Labels Above Data allows you to display the map's labels above or below the heatmap. This is especially significant with higher heatmap opacity values. If your heatmap is opaque, the labels will not show unless they are displayed above the data.
Value menu options
The Value Colors input box enables you to set the color of map points, or define the range of colors to be used if you are color coding according to a measure.
You can input a list of hex strings, such as
#2ca6cd, or CSS color names, such as
mediumblue. The colors you input first are associated with the lowest values.
When turned on, Quantize Colors changes the color scale from a smooth gradient to only the specific colors you've set.
The image on the left depicts the legend when Quantize Colors is off, and the image on the right depicts the legend when Quantize Colors is turned on:
Reverse Color Scale
When turned on, Reverse Color Scale switches the colors that indicate high and low values on the chart, reversing the color gradient.
The image on the left depicts a heatmap with low values indicated by green, and high values indicated by red. The image on the right depicts the same chart with Reverse Color Scale turned on:
Minimum Value/Maximum Value
These colors set the minimum and maximum values of the color range. This enables you to color code all points below a certain threshold with the lowest color, and all points above a certain threshold with the highest color.
By default this field is left blank, and the minimum and maximum values applied on the legend are the minimum and maximum values from your query.