The name of the property to generate the histogram for.
maxBuckets
Number, optional
The maximum number of buckets to use when building a histogram; will be rounded up to a power of 2. Not used when the value of property is non-numeric.
minBucketWidth
Number, optional
The minimum histogram bucket width, or null to allow any power of 2. Not used when property is non-numeric.
maxRaw
Number, optional
The number of values to accumulate before building the initial histogram. Not used when property is non-numeric.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-08 UTC."],[[["\u003cp\u003eCreates a histogram chart visualizing the distribution of a specified property within a set of features.\u003c/p\u003e\n"],["\u003cp\u003eThe chart displays the frequency of features falling into different property value ranges (buckets) along the x and y axes.\u003c/p\u003e\n"],["\u003cp\u003eUsers can customize the histogram's maximum number of buckets, minimum bucket width, and the number of raw values used before building it.\u003c/p\u003e\n"],["\u003cp\u003eAccepts Feature, FeatureCollection, or List as input for features and returns a ui.Chart object.\u003c/p\u003e\n"]]],[],null,["# ui.Chart.feature.histogram\n\n\u003cbr /\u003e\n\nGenerates a Chart from a set of features. Computes and plots a histogram of the given property.\n\n\u003cbr /\u003e\n\n- X-axis = Histogram buckets (of property value).\n\n- Y-axis = Frequency (i.e. the number of features whose value of property lands within the x-axis bucket bounds).\n\nReturns a chart.\n\n| Usage | Returns |\n|----------------------------------------------------------------------------------------------------|----------|\n| `ui.Chart.feature.histogram(features, property, `*maxBuckets* `, `*minBucketWidth* `, `*maxRaw*`)` | ui.Chart |\n\n| Argument | Type | Details |\n|------------------|---------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `features` | Feature\\|FeatureCollection\\|List\\\u003cFeature\\\u003e | The features to include in the chart. |\n| `property` | String | The name of the property to generate the histogram for. |\n| `maxBuckets` | Number, optional | The maximum number of buckets to use when building a histogram; will be rounded up to a power of 2. Not used when the value of property is non-numeric. |\n| `minBucketWidth` | Number, optional | The minimum histogram bucket width, or null to allow any power of 2. Not used when property is non-numeric. |\n| `maxRaw` | Number, optional | The number of values to accumulate before building the initial histogram. Not used when property is non-numeric. |"]]