Charts
Build charts from your layer data in Chart Studio, compare "x of y", match your map colours, pin them to a live dashboard on the map, and use them in popups and shared maps.
Chart Studio turns your layer data into charts that are saved with the map and update as the data changes. Pin a chart to the dashboard and it sits beside the map, following your view or selection as you work.
Open it from Tools ▸ Charts in the left nav.
Charts in this map
Chart Studio opens on a gallery of the charts saved with the open map. Each card shows a live preview; click it to edit, Expand it to full size, pin or unpin it from the dashboard, or delete it. New chart starts a fresh one.
Building a chart
The builder works top to bottom, with a live preview beside it.
-
Chart type — Bar, Rows (horizontal bars, for long labels), Line, Area, Donut, Histogram, Scatter or Number (a single headline figure, such as a count or a total).
-
Data — the Layer, and which Features to count:
- All — every feature in the layer.
- In view — only what’s in the current map view; the chart updates as you pan and zoom.
- Selected — only the features selected on the map.
Tables without geometry (a CSV of inspections, say) are listed under Tables and can be charted too.
-
Measure — what to Show: Number of features, Total of…, Average of…, Smallest…, Largest… or Distinct values of… a field. Grouped by (or Slices by for a donut) picks the category field; date fields can be grouped by day, week, month, quarter or year, and numbers can be grouped into ranges. Split by adds a second field as series, side by side or stacked. Histograms take a Number field and Bin width; scatters take Across (X) and Up (Y).
-
Filters — Add filter to narrow the rows: pick values from a list for text, a range for numbers and dates, or yes/no and empty checks. Charts also follow the layer’s filter and any Live filters.
-
Compare — Show as an “x of y” figure instead of just the value (see Compare: x of y).
-
Order & limit — sort largest or smallest first, A → Z or by date, and show only the top N groups, optionally with the rest grouped as Other.
-
Display — colours (see Colours), value prefix/suffix and decimals (e.g.
$orm²), and fixed Value axis min/max.
Give it a name in the bar at the top and Save chart.
Compare: x of y
Compare ▸ Show as turns a count or total into a share of something bigger:
- Out of the whole layer: every feature, ignoring the view, the selection and filters.
- Out of everywhere (ignore map view), or Out of all features (ignore selection) for a Selected chart: the same features anywhere on the map, with filters still applied.
- Out of all, before filters: the same features with no filters at all.
- Share of the chart total: each bar or slice as a share of everything the chart shows.
Format shows it as 12 of 50 (24%), 12 of 50 or just 24%; with percent, bar and line charts
plot the percentages. A Number chart with “In view · Out of the whole layer” makes a quick “how
much of it am I looking at” figure. Compare works with counts, totals and distinct counts, not
averages or min/max.
Colours
Under Display:
- Colour by Category gives each bar or slice its own colour. Value shades them low to high on a ramp.
- Colours picks the scheme: the same palettes and ramps as layer styles, plus your custom schemes. New custom scheme… and Reverse colours are in the list too. Custom schemes sync with your account, so they’re on every device.
- Colour of each bar (or slice or series) sets any one item’s colour by hand. Clear it to go back to the scheme, or Reset all.
- Copy map colours appears when the chart is grouped by the field the layer is styled by category. It gives the chart the same colours as the map.
SQL mode
For anything the builder can’t express, Convert to SQL turns the chart into a query you can edit by hand, with a list of your layers and Chart snippets to start from, then map the result columns to the chart’s axes and series. It’s one-way — a SQL chart stays a SQL chart. The SQL console has the full function reference.
The dashboard
Show on map in the editor (or the pin on a gallery card) adds a chart to the map’s dashboard. Choose where the dashboard sits from Dashboard in the gallery — docked on the Right or along the Bottom of the map, or Hidden — and drag its edge to resize it. Tools ▸ Show chart dashboard brings it back. On a phone or narrow window it always sits along the bottom.
Once a chart is on the map, Show when beside the On map button limits it to when certain layers are visible (Any of them or All of them). A dashboard can then hold charts for several layers and only show the ones that matter as you turn layers on and off.
Dashboard charts are live: In view charts follow the map as you move, Selected charts follow your selection, and every chart re-runs as you edit the data. Click a bar or slice to select the features behind it on the map. Each chart has Refresh and Edit in Chart Studio buttons.
Charts elsewhere
- Popups — a popup’s Chart section can show a saved chart filtered to the clicked feature. See Styling layers ▸ Popups.
- Shared maps — pinned charts appear in the viewer too; turn Pinned charts on or off in a link’s viewer settings.
Charts are saved with the map, so they sync and share with it.
Next steps
- Field calculator & SQL — shape the data behind a chart.
- Selecting features — drive Selected charts.
- The attribute table — inspect the underlying rows.