Skip to content

Releases: observablehq/plot

v0.6.14

13 Mar 00:20
7e598e4
Compare
Choose a tag to compare

Please see the 0.6.14 release notes for more.

  • Preserve input order of groups with the group transform. #1959
  • Add z reducer to the bin and group transforms. #1959
  • Add the Observable10 color scheme to type declarations. #1954
  • Hide axis ticks and grid lines from the accessibility tree. Thanks, @domoritz! #2018
  • Upgrade D3 to 7.9.0. #2020

v0.6.13

13 Dec 16:29
@Fil Fil
28c7ebc
Compare
Choose a tag to compare

Please see the 0.6.13 release notes for more.

  • Reduce the specificity of generated stylesheets to 0. #1941 Thanks, @mstade! 🙏
  • Fix the order of the observable10 scheme. #1947

v0.6.12

08 Dec 01:34
c66f717
Compare
Choose a tag to compare

Please see the 0.6.12 release notes for more!

Breaking

  • The default plot background is now unset (transparent) instead of white. #1489

Features

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

20 Sep 17:01
61d8a74
Compare
Choose a tag to compare

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

15 Aug 16:33
c3f29b9
Compare
Choose a tag to compare

Please see the 0.6.10 release notes for more!

v0.6.9

28 Jun 00:43
7b92d54
Compare
Choose a tag to compare

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

03 Jun 01:00
16c75f4
Compare
Choose a tag to compare

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

24 May 19:12
@Fil Fil
357ac3d
Compare
Choose a tag to compare

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

26 Apr 17:25
a4ddb1a
Compare
Choose a tag to compare

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

01 Apr 18:52
678df1d
Compare
Choose a tag to compare

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