Announcement: All noncommercial projects registered to use Earth Engine beforeApril 15, 2025 mustverify noncommercial eligibility to maintain access. If you have not verified by September 26, 2025, your access may be on hold.

ui.Chart.feature.groups

Generates a Chart from a set of features. Plots the value of a given property across groups of features. Features with the same value of groupProperty will be grouped and plotted as a single series.

  - X-axis = xProperty values.

  - Y-axis = yProperty values.

  - Series = Feature groups, by seriesProperty.

Returns a chart.

UsageReturns
ui.Chart.feature.groups(features, xProperty, yProperty, seriesProperty)ui.Chart
ArgumentTypeDetails
featuresFeature|FeatureCollection|List<Feature>The features to include in the chart.
xPropertyStringProperty to be used as the label for each feature on the x-axis.
yPropertyStringProperty to be plotted on the y-axis.
seriesPropertyStringProperty used to determine feature groups. Features with the same value of groupProperty will be plotted as a single series on the chart.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-08 UTC.