Stay up to date on releases
Create your free account today to subscribe to this repository for notifications about new releases, and build software alongside 40 million developers on GitHub.
Sign up for free See pricing for teams and enterprisesNew Features (and Examples)
Interactivity
- selection support for bin extent (example: smooth histogram zooming)
Transforms
- regression and loess.
- pivot transform
Visual Encodings
- responsive width and height (Example) -- Thanks @donghaoren
- add gradient support for colors
- add image mark
- support for multiline text and subtitle (examples: Weekly Weather, Comparative Likert Scale Rating)
- support conditional axis + add examples (#5253)
- support per-corner radius for bar marks (example) -- Thanks @donghaoren
Syntax Improvement
Visual Encodings & Configs
-
make view
width/heightsupport{step: number}, replacing scalerangeStep- BREAKING CHANGE: deprecate scale
rangeStep - BREAKING CHANGE:
config.scale.rangeStepreplaced withconfig.view.step - BREAKING CHANGE:
config.scale.textRangeStepremoved
- BREAKING CHANGE: deprecate scale
-
supporting channel name string for sorting by another encoding (e.g.,
sort: "x",sort: "-x") -
Move layout properties (
align,bounds,center,spacing,columns) to encoding's facet field definition (#5150)- BREAKING CHANGE: * deprecate (
align,center,spacing,columns) from FacetedUnitSpec's schema
- BREAKING CHANGE: * deprecate (
- other BREAKING CHANGES in config:
-
replace
config.invalidValueswithmark.invalidfor mark definition and config (#5084) -
remove
config.stack, which is unnecessary -
remove
config.scale.bar/rectBandPaddingOuter, which are unnecessary
-
Style Change
-
Improve time unit formats - Thanks @haldenl
- BREAKING CHANGE: remove support for
shortTimeLabelin axis/legend as we now use short format by default
- BREAKING CHANGE: remove support for
-
change default 1D bar size without scale to 18 (#5082)
-
Make axes appear below marks by default
-
Make geoshape with graticule data source unfilled (stroked) by default
More details: v3.4.0...v4.0.0














