You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- new classification mode: standard deviation (mode: stddeviation)
-- class intervals are defined using standard deviation from the mean of the dataset
-- results in equal class widths and varying amount of features per class
-- as always, it is intended for use with normally distributed data
-- creates classes with an interval size of 1 standard deviation (support for 1/2, 1/3 std. dev. coming soon)
-- with this mode, option `classes` is ignored
-- legend customization recommended (by making the unit of values clear, e.g. including unit "std. dev." in legend title, or by defining custom templates for legend rows to show unit)
- fixed and cleaned up point/color mode symbol radius defaults
- updated documentation
- examples:
-- `lines_w.html`: uses new data of river discharge, improved mouse hover tooltips and added feature highlighting
-- updated dataset `rivers.geojson`: contains river discharge (flow) data and river names now
- `mode <string>`: ['jenks'|'quantile'|'equalinterval'|'manual'] classification method: jenks, quantile, equalinterval, manual. When using manual (which partially defeats the purpose of this plugin), option `classes` must be an array of class boundary values!
106
+
- `mode <string>`: ['jenks'|'quantile'|'equalinterval'|'stddeviation'|'manual'] classification method: natural break (Jenks), equal count (quantile), equal interval, standard deviation, manual. When using standard deviation, option `classes` is ignored. When using manual (which partially defeats the purpose of this plugin), option `classes` must be an array of class boundary values!
106
107
- `classes <integer|array>`: desired number of classes (min: 3; max: 10 or featurecount, whichever is lower. If higher, reverts back to the max of 10.). If `mode` is manual, this must be an array of numbers (for example [0, 150, 200] would yield the following three classes: below 150, 150-200, above 200).
107
108
- `field <string>`: target attribute field name to base classification on. Case-sensitive!
// NOTE: documentation in this object might not be up to date. Please always refer to the documentation on GitHub.
17
17
// default options
18
-
mode: 'quantile',// classification method: jenks, quantile, equalinterval, manual (when using manual, `classes` must be an array!)
18
+
mode: 'quantile',// classification method: jenks, quantile, equalinterval, stddeviation (when using stddev, `classes` is ignored!), manual (when using manual, `classes` must be an array!)
19
19
classes: 5,// desired number of classes (min: 3, max: 10 or featurecount, whichever is lower)
20
20
pointMode: 'color',// POINT FEATURES: fill "color" or "size" (default: color)
21
21
pointSize: {min: 2,max: 10},// POINT FEATURES: when pointMode: "size", define min/max point circle radius (default min: 2, default max: 10, recommended max: 12)
0 commit comments