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

Generates a Chart from a set of features. Plots property values of one or more features.

  - X-axis = Property name, labeled by xProperties (default: all properties).

  - Y-axis = Property value (must be numeric).

  - Series = Features, labeled by seriesProperty (default: 'system:index').

All properties except seriesProperty are included on the x-axis by default.

Returns a chart.

UsageReturns
ui.Chart.feature.byProperty(features,xProperties,seriesProperty)ui.Chart
ArgumentTypeDetails
featuresFeature|FeatureCollection|List<Feature>The features to include in the chart.
xPropertiesList<String>|Object|String, optionalOne of (1) a property to be plotted on the x-axis; (2) a list of properties to be plotted on the x-axis; or (3) a (property, label) dictionary specifying labels for properties to be used as values on the x-axis. If omitted, all properties will be plotted on the x-axis, labeled with their names.
seriesPropertyString, optionalThe name of the property used to label each feature in the legend. Defaults to 'system:index'.

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.