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
When I implemented binning for my project, I made an extra bin for the 1st and 99th percentile, capturing most outliers and making a fatter higher resolution middle. Ideally I would include that first and last percentile in the first and last regular bins and communicate the change via mousover for Bin sizes. the 1/99 will only ever have 2% of total values and will never have a high bar.
So I dont know the name of the algorithm they use in vega, right now in AutoProfiler we use equal width bins. This issue was about doing something smarter to pick the number of bins. Right now we do bins = min(unique values, 20) iirc which is very simple and vega seemingly has a better approach depending on cardinality or range of data
Consider re-implementing Vega's binning strategy: https://github.com/vega/vega/blob/72b9b3bbf912212e7879b6acaccc84aff969ef1c/packages/vega-statistics/src/bin.js#L23
The text was updated successfully, but these errors were encountered: