Changelog:
Features:
- Breaking: Rename selection clause
schema
property tometa
. - Breaking: Change nearest interactor options to support multidimensional point selection and separate pointer targets from selected data channels.
- Add
nearest
interactor for selecting nearest 2D point. - Add
errorbarX
anderrorbarY
marks for parametric confidence intervals over unaggregated data. The existingruleX/Y
marks should be used for pre-computed interval boundaries or custom aggregate expressions. - Add mark-level
select
option for internal filtering of mark data, for examplefirst
orlast
points in a series or the currentnearest
mark to the pointer. Mark-levelselect
simplifies creating various hover effects and annotations, though may query data in an unoptimized fashion, and does not interoperate with params or selections. - Add covariance aggregate method.
- Add data cube support in cases where only some filtered clients are indexable.
- Add stddev, variance, covariance, and regression aggregates to data cube indexer.
- Add stddev, variance, covariance transforms in declarative specs.
- Add binning method hints for data cube indexer.
- Add selection clause generation methods (
point
,interval
, etc). - Add selection clause typings.
- Add Selection
valueFor
method to look up source-specific values. - Add selection clause methods to inputs and interactors.
- Add value label to
slider
input. - Add interval selection support to
slider
input. - Add
field
option to inputs (menu, slider, search) to control the column referenced in selection clause predicates. (#406) - Add
toggleZ
interactor directive to select line or area series using the z channel. - Add QueryManager
logQueries
method to toggle logging of queries submitted to connector. - Add FilterGroup
index
method to toggle data cube indexing. - Add
SQLExpression
export tomosaic-sql
package. - Add
Query.select
column override support. Neweras
values overwrite prior ones, and anull
expression value removes any prior statements.
Examples:
- Add
linear-regression-10m
example with dynamic regression calculation over 10m points. - Add
athlete-height
example with error bars and slider-based selection. - Add
line-multi-series
example with interactive hover highlights and annotations.
Developer Support:
- Add options for logging and optimization to the dev (
npm run dev
) example runner. - Add JSON schema publishing (e.g., to
https://uwdata.github.io/mosaic/schema/latest.json
). - Add project vscode settings for YAML schemas (requires the YAML extension)
Bug Fixes, etc.:
- Fix
bin
transform to support extents for rule marks. - Fix data type lookup in plot renderer.
- Fix SQL generation escaping of strings with single quotes.
- Fix Menu value initialization and updates. (#401)
- Fix legend interactor peers and selection value extraction.
- Fix interval 1D brush extent sort order.
- Fix raster mark color domain sorting.
- Fix data lookup from SVG in toggle and highlight interactors to support lines/areas.
- Update dependencies, documentation, and types.