This release adds support for non-linear scales across binning methods, both in gridded marks like raster
, and for the bin
transform. It also improves marks that use gridded data, such as density
, raster
, and the new heatmap
convenience mark.
Breaking Changes:
This release renames some of the options for density/contour/raster marks and adjusts their defaults. This simplifies some naming and usage, and better aligns with the underlying Observable Plot library.
- binType is now interpolate. The
"normal"
option value is now"none"
. - binWidth is now pixelSize.
- binsX is now width.
- binsY is now height.
Changelog:
- Breaking: Rename options for density/contour/raster marks, change defaults.
- Add support for non-linear scales (log, symlog, sqrt) to pixel-level binning methods.
- Add support for non-linear scales (log, symlog, sqrt) to the
bin
transform. - Add SQL scale transform utilities to the
mosaic-sql
package. - Add richer option support to
raster
mark, including gridded ordinal data alongside numeric data. - Add
heatmap
mark, araster
mark with convenient defaults for density estimation. - Add additional plot attributes for scale transforms.
- Add more SQL transforms to the declarative specs.
- Update mark implementations to use improved binning.
- Update
density1d
example spec to use a log-scaled domain. - Update examples, including new Observable latency example.
- Update documentation.
- Update dependencies, use DuckDB v0.10.0.
- Fix range transformation bug in
DataCubeIndexer
. - Fix filter range bug in
DensityLineMark
. - Fix M4 optimization bug in
ConnectedMark
(line and area).