Releases: observablehq/plot
Releases · observablehq/plot
v0.6.16
Please see the 0.6.16 release notes for examples and more!
New features
- Add the waffle mark 🧇 for comparing countable quantities. #2029 #2040
- Add support for GeoJSON data and GeoJSON property shorthand to all marks. #2092 #1745 #1172
- Add support for the tip option to the geo mark (via an implicit centroid transform). #2088 #2087 #2085 #1743
- Add support for Apache Arrow as native data, allowing channel shorthand. #191 #2030 #2096 #2115
- Add per-side and per-corner rounding options (r, rx1, ry1, etc.) to rect-like marks. #2099 #2054
- Add className mark option. Thanks, @RLesser! #1098
- Add differenceX and shiftY. #1922
Bug fixes and other improvements
- Change the tip mark to ignore channels of literal color values. #2091 #2090
- Optimize clip path rendering. #1624
- Fix marker options on lines with variable aesthetics. #2094 #2093
- Fix the default plot height when a projection domain is set. #2102 #2063
- Fix the default plot height when the ordinal y scale domain is empty. #1864 #1856
- Fix the Voronoi mark with the pointer transform. #1622 #1623
- Fix the Voronoi mark with non-exclusive facets. #1858 #1623
- Fix detection of date columns with Apache Arrow data. #2096
New contributors
Full Changelog: v0.6.15...v0.6.16
v0.6.15
- Add formatNumber. #2078
- Add numberInterval, timeInterval, and utcInterval. #2075
- The tip mark’s format option now applies to the title channel. #2053 #2074
- The log scale’s tickFormat option, when a function, now applies only to labeled ticks. #2077 #2078
- Improve the robustness of barycentric interpolation. #2025 #2037
- Fix scale inversion when the domain is collapsed. #1985 #2027
- Fix the plot’s initial value when using the pointer transform and a figure. #2045 #2046
- Fix a crash when the stack transform is used with mixed faceting. #2016 #2028
- Fix the coercion of null when using the percent scale option. #2072 #2073
- Fix side effects declaration so Rollup doesn’t drop
Mark.prototype.plot
. #2069
Thanks to @pearmini for contributing to the docs!
Full Changelog: v0.6.14...v0.6.15
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.