Releases: observablehq/plot
Releases · observablehq/plot
v0.6.14
Please see the 0.6.14 release notes for more.
v0.6.13
v0.6.12
Please see the 0.6.12 release notes for more!
Breaking
- The default plot background is now unset (transparent) instead of white. #1489
Features
- The rect mark now supports band scales, and can now be used in place of bar and cell! #1899 #1909
- Categorical color scales now default to the new observable10 color scheme. #1895
- Add difference mark for comparing metrics. #159 #1896
- Add shift transform for deriving a time-shifted metric. #1799 #1896
- Add find reducer for pivoting data with the bin and group transforms. #1914
- The tip mark now supports a preferredAnchor option. #1872
- The marker option now supports tick, tick-x, and tick-y. #1892
- The bin and group transforms now pass data to reducers. #1914
- The group and hexbin transforms now support x and y reducers. #1530 #1916
- The CSS custom property
--plot-background
now controls the tip fill, marker stroke, and other colors. #1489
Bug fixes
- The default axis for a time scale now uses local time as intended. #1886 #1887
- The text mark’s lineWidth option is now more accurate when monospace is true. #1879 #1880
- Fix erroneous truncation of title text on the tip mark. #1913
- Fix scale type option to be case-insensitive. #1894 #1904
- Fix overload precedence in transform type definitions. #1915
v0.6.11
Please see the 0.6.11 release notes for more!
Features
- The tip mark option can now pass options to the derived tip mark. #1823
- The new format tip mark option enables greater control over order and formatting of channels. #1823
- Axes for ordinal scales now generalize the scale’s temporal or quantitative interval if any. #1790
- A channel value can now be given a label by specifying it as a {value, label} object. #1838
- Plot now supports CSS Color Module Level 4 and Level 5 syntax. #1454
Bug fixes
- Exposed ordinal scale domains are now correctly deduplicated. #1813
- The default symbol set is now inferred correctly when fill is currentColor. #1830
- The stack transform now correctly handles the exclude facet option. #1649
- The tip mark is no longer briefly visible before asynchronous rendering. #1826
- The bin transform now uses the interval option to reduce x1 & x2 (and y1 & y2). #1828
- The fontVariant axis option now applies to the axis label in addition to ticks. #1827
- The bin transform no longer generates undefined colors for empty bins. #1837
- The tree transform now correctly handles escaping with the delimiter option. #1850
v0.6.10
Please see the 0.6.10 release notes for more!
- Add bollinger mark & map method. #1772
- Add sweep option to the arrow mark. #1740
- Add clip plot option. #1792
- Add title, subtitle, and figure plot options. #1761
- Improve the error message for missing stack transform value. #1798
- Fix the tip option on a geo mark without a projection. #1746
- Fix the pointer interaction to use unscaled distance across facets. #1777
- Fix the pointer interaction to not simultaneously point at multiple points across facets. #1780
- Fix the pointer interaction to always dispatch the new value. #1779
- Fix how the tip mark labels paired channels. #1769
- Fix how the auto mark resolves the bar mark implementation. #1801
- Add API index to documentation. #1765
- Add version badges to documentation. #1793
- Shorten documentation anchors. #1771
v0.6.9
Please see the 0.6.9 release notes for more!
- Time axes now default to multi-line ticks for better readability. 🎉 #1718 #1728
- Easier piecewise scale construction. #1715
- Apply pointer-events: none to tips when the pointer transform is not sticky. #1697
- Add textLayout option to the tree mark, with mirrored labels by default. #1610
- Don’t filter the href, ariaLabel, and title channels by default. #1699
- Fix duplicate tips with the tree mark’s tip option. #1726
- Fix the axis mark’s sort, filter, reverse, and initializer options. #1665
- Fix the auto mark when both dimensions are ordinal and the mark option is bar. #1674
- Fix a regression in the window transform’s median, percentile, and related reducers. #1691
- Fix barycentric interpolation outside the convex hull of samples. #1701
- Fix non-faceted pointer transforms in faceted plots. #1713
v0.6.8
Please see the 0.6.8 release notes for more!
- The x and y scale default domains now incorporate geometry. #1468
- The stack transform’s order option now accepts a comparator. #1195 #1642
- The stack transform’s order option now supports -order descending shorthand. #1642 #1613
- Fix color legends when the domain or range has extra elements, and issue a warning. #1633 #1632
- Fix the default stroke with the hexbin transform when used with the tip mark. #1641
- Fix duplicate application of scale transforms with the tip mark option. #1645
- Fix erroneous implicit title channel with the tip mark option. #1658 #1657
- Fix spurious high-cardinality warning with an odd number of elements. #1668
v0.6.7
Please see the 0.6.7 release notes for more!
- Add pointer interaction for pointing at data.
- Add tip mark for annotations and revealing details-on-demand when pointing.
- Add crosshair mark for showing position values when pointing.
- Add tip mark option for deriving a tip mark with pointer interaction.
- Add -channel descending shorthand syntax for the sort mark option (e.g., sort y by -x).
- Add shorthand for time interval multiples such as 3 months or 10 years.
- Add imageFilter mark option for applying CSS image filters.
- Add marker options to the rule and tick marks.
- Add labelArrow option to control axis label directional arrows (↑, →, ↓, ←).
- Add support for the interval scale option to the group, bin, and stack transforms.
- Add support for index-aware reducers to the normalize and window transforms.
- Add support for index-aware map methods to the map transform.
- Add identity position defaults to the mapX and mapY transforms.
- Add support for abstract (scaled) values when specifying a frame or hexgrid’s options.
- Add render mark option for render transforms.
- Change the default tickFormat for ordinal scales with yearly intervals.
- Change the label scale option to add an implicit directional arrow by default.
- Change the auto mark to set tip to true.
- Change the default color scale type to categorical when given a categorical scheme.
- Fix automatic opt-out of the opacity scale for the opacity channel.
- Fix crash when an invalid CSS color string is specified for a frame’s fill or stroke.
- Fix position defaults for the rectX, rectY, barX, and barY marks.
- Fix facet filtering and anchors when facet domains contain non-primitive values.
- Fix auto mark to chose correctly between variants of rect, line, and area marks.
- Fix z-order of marks across facets.
- Fix z-order of facet axes.
v0.6.6
Plot has a new documentation website! 👉 https://observablehq.com/plot 👈
Please see the 0.6.6 release notes for more!
- Add r and rotate options to the image mark.
- Add Plot.indexOf.
- Fix how the axis mark handles the margin option.
- Fix axis labels when using the href and other channel options.
- Fix imputed facet scale domains in conjunction with the sort mark option and limit.
- Fix a spurious warning when faceting and using non-array data.
- Fix the floating point precision of the interval scale option when a fractional number.
- Assume a high pixel density display during headless rendering.
- Deterministically generate the default className (currently
plot-d6a7b5
). - Legends now inherit the plot’s className option.
- The density mark now respects the plot’s document option.
- The caption option now uses a duck test instead of testing against the global Node.
v0.6.5
Please see the 0.6.5 release notes for more!
- TypeScript! 🎉 Plot now exports TypeScript type declarations. #401 #1320 #1343
- Channels now opt-out of the opacity scale by default when all values are numbers in the range [0, 1]. #1310
- Channel-derived scale domains now handle non-orderable values. #1348
- Channel-derived scale domains now handle duplicate values. #1314
- Channel-derived scale domains now handle mark transforms. #1315 #1316
- Channel values may now be specified as bigints, which are coerced to numbers. #1299
- Color legends now support the opacity option. #1407
- Quantile scales no longer error if there are no valid associated values. #1322
- The nice scale option can now be specified as a named time interval such as day or week. #1332
- The unknown scale option is now supported on quantile scales. #1321
- The text mark no longer crashes when a NaN tick value is specified for an axis. #1335
- The raster mark now supports scale overrides. #1318
- The axis mark now correctly handles custom interval implementations. #1332
- Add quarter and half named time intervals. #1312
- Add identity reducer for the bin and group transform. #1382
- Plot.auto now draws a zero rule by default in conjunction with the rule mark, when appropriate. #1341
- Plot.auto now renders correctly when a non-zero reduce is used in conjunction with the bar mark. #1368
- Plot.auto now renders correctly in some cases when the zero option is specified. #1368
- Plot.auto’s zero option no longer changes the default mark type. #1368
- Plot.autoSpec now materializes the zero option. #1368
- The bin and group transforms no longer misinterpret scale overrides as reducers. #1367
- The reduce and map implementations now expect reduceIndex and mapIndex methods. #1367
- The className option now allows mixed-case class names. #1347