v5.8.0
Notable Additions:
- New transform (
timeunit) and expression functions for handling date-time values. - New transforms for more flexible 2D density estimation (
kde2d), flexible isocontour generation (isocontour), and heatmap image rendering (heatmap). - The
imagemark now supports dynamicimageandsmoothproperties. - The
pathmark has new rotation (angle) and scale properties (scaleX,scaleY). - More flexible
cornerRadiuscontrol forrectandgroupmarks.
Deprecations:
- The
contourtransform is now deprecated and may be removed in a future major release. Instead, use the new, more expressiveisocontour,kde2d, andheatmaptransforms.
Changes from v5.7.3:
docs
- Add documentation for new features.
- Add density-heatmaps example.
- Add radar-chart example. (thanks @benib!)
- Update contour-plot example.
- Update population-pyramid example.
- Update volcano-countours example.
vega
- Add vega-time utilities.
- Add
bar-timetest specification. - Add
heatmap-imagetest specification. - Add
heatmap-sinusoidstest specification. - Add
isocontour-airportstest specification. - Add
isocontour-volcanotest specification. - Add
scatter-plot-contourstest specification. - Add
scatter-plot-heatmaptest specification. - Update test specifications to use top-level guide configuration properties.
- Update build scripts, adjust D3 externals for vega-core build.
- Fix dependencies to specific versions. (#2089)
vega-encode
- Add support for UTC formatType.
- Update time/utc scale formatting to use vega-time methods.
- Fix log scale tick filtering of explicit values. (#2138)
vega-functions
- Add
timeUnitSpecifierexpression function. - Add
timeOffsetandutcOffsetexpression functions. - Add
timeSequenceandutcSequenceexpression functions. - Update
timeFormatandutcFormatfunctions to use vega-time methods. - Update dependencies.
- Fix day/month format bug. (#2096, thanks @jakevdp!)
vega-geo
- Add
isocontour,heatmap, andkde2dtransforms. - Drop d3-contour dependency, use local implementation.
- Deprecate
contourtransform.
vega-loader
- Update dependencies.
vega-parser
- Add
tickBandproperty for configuring band axis styles. - Update
tickOffsetconfig for band-scale axes. - Update dependencies.
- Fix symbol color configuration to consider values in parallel, not sequentially.
vega-regression
- Update dependencies.
vega-scale
- Update to use vega-time, drop internal time interval method.
vega-scenegraph
- Add
angle,scaleX, andscaleYchannels forpathmarks. (#2030, thanks @mathiastiberghien!) - Add individual
cornerRadiusoptions forrectandgroupmarks. (#1968, thanks @donghaoren!) - Add
imagemark support for pre-loadedimageproperty. - Use cubic bezier curves for improved rectangle corners.
- Fix canvas renderer to always bound to visible view.
- Drop Image
loadedflag, use built-incompleteflag.
vega-schema
- Add UTC timeFormat and time format specifier to schema.
- Add
angle,scaleX, andscaleYencoding channels to schema. - Add
cornerRadiusencoding channels to schema. - Add axis
translateandtickBandproperties to schema. - Update axis, legend format schema.
vega-selections
- Add support for resolving multi selections. (thanks @arvind!)
vega-statistics
- Add exported
bandwidthNRDmethod. - Update dependencies.
vega-time
- Add new vega-time utility package.
vega-transforms
- Add
TimeUnittransform. - Add
Bintransformintervalparameter. - Add
Flattentransformindexparameter. (#2114, thanks @Timmmm!)
vega-typings
- Add
TimeUnittransform typings. - Add
Heatmap,Isocontour, andKDE2Dtransform typings. - Add
Bintransformintervalparameter to typings. - Add
Flattentransformindexparameter to typings. - Add missing transform typings, refine parameter typings.
- Add UTC timeFormat and time format specifier typings.
- Add
angle,scaleX, andscaleYencoding channels to typings. - Add
cornerRadiusencoding channels to typings. - Add axis
translateandtickBandproperties to typings. - Update axis, legend format typings.
vega-view
- Update dependencies.
vega-view-transforms
- Add axis
translatesupport to axis layout. - Update dependencies.
vega-wordcloud
- Update dependencies.