Skip to content

Releases: observablehq/plot

v0.4.3

12 Apr 20:02
fd7de19
Compare
Choose a tag to compare

Please see the 0.4.3 release notes for more!

v0.4.2

26 Feb 20:51
8af35be
Compare
Choose a tag to compare

Please see the 0.4.2 release notes for more!

  • Add box mark for generating box plots. #777
  • Add improved shorthand for bar, vector, area, line, rect, and other marks. #782 #785 #786 #787
  • Add width and length derived channels to sort options. #770
  • Add fallback from y to y2 and x to x2 to sort options. #770
  • Add x and y reducers for the bin transform. #771
  • Add percentile reducers (e.g., p95) to the bin, group, and window transforms. #776
  • Fix the implicit z channel cardinality test to be less strict. #774
  • Fix the ticks option to generate no ticks when null. #781
  • Fix the tickFormat option to generate no tick labels when null. #781
  • Fix emoji warning rendering in Chrome. ⚠️ #788
  • Document the scope reducer option. #784

v0.4.1

18 Feb 00:51
cbb827c
Compare
Choose a tag to compare

Please see the 0.4.1 release notes for more!

  • Plot can now generate warnings for common mistakes. #751
  • Plot now supports ARIA attributes: aria-label, aria-description, aria-hidden. #710 #722 #725 #729
  • The area and line marks now support varying fill, stroke, tile, and other channels within series. #761
  • The text mark now supports automatic line wrapping. #699
  • The line and link marks now support vertex markers such as circles or arrows. #731
  • Colors can now be expressed as patterns, gradients, or CSS variables. #700 #766
  • The new clip mark option enables clipping to the plot frame. #752 #758
  • The new paintOrder mark option controls paint order (such as for a halo around text). #701
  • The bin transform now supports an interval option for explicit numeric bins (such as integers). #735
  • And more! #697 #703 #705 #706 #707 #709 #743 #746 #750 #753 #754 #756 #758 #759

v0.4.0

21 Jan 00:19
0492893
Compare
Choose a tag to compare

Please see the 0.4.0 release notes for more!

  • Add arrow mark. #657 #658 #38 #39
  • Add vector mark (and corresponding length scale). #649 #407
  • Add href and target standard options to all marks for generating hyperlinks. #645 #283
  • Add symbol option to the dot mark (and corresponding symbol scale and legend). #41 #389 #649 #652
  • The text mark now supports multline text; add lineAnchor and lineHeight options. #313 #327 #677
  • Add frameAnchor option to the text, dot, and image marks. #686 #683
  • Add default localized formatting for number and date values with the text and title channels. #476 #643
  • Add default tabular numerals for number and date values with the text channel. #476 #643
  • Add (generalized) select transform, allowing custom selector functions. #515 #656
  • The text mark now supports fontSize being specified as a CSS length, keyword, or percentage. #378 #679
  • The bin and group transforms now aggregate the title and href channels by default. #617 #674
  • The bin transform now supports x1, x2, y1, and y2 reducers to access the bin extent. #613
  • The window transform now supports first and last reducers. #635 #636
  • The color scale now defaults to identity when all associated defined values are valid colors. #660 #673
  • The color scale now defaults to light and dark grey when all associated defined values are booleans. #694
  • Add Plot.scale method for generating standalone scales. #624 #639
  • Add top-level clamp option for all scales. #339 #622
  • Fix the image mark to respect the dx and dy options. #629
  • Fix range inversion when margins and insets are too big. #616 #618 #640
  • Fix buylrd color scheme when applied to an ordinal scale. #632
  • Fix default domain for quantitative values to ignore infinite values. #528 #644
  • Fix swatches legend to wrap in narrow windows. #614 #615
  • Fix tickFormat option to display no labels when null. #620
  • Fix crash when displaying a legend with an identity color scale. #661
  • Fix constant boolean channels. #692
  • Remove all circular imports. #619 #659
  • Adopt Vite for local development, replacing Snowpack. #678
  • [breaking] The text mark’s dx and dy options now behave the same as other marks and must be specified in pixels.
  • [breaking] Plot now requires D3 ^7.3.0.

v0.3.2

10 Dec 17:27
85e5ea3
Compare
Choose a tag to compare

Please see the 0.3.2 release notes for more!

  • Add scale.fontVariant axis and legend option. #606 #608
  • Fix font-variant to default to normal for text marks and ordinal scales. #606 #608
  • Fix default label for legends when the associated scale has an implicit label. #607

v0.3.1

10 Dec 16:00
e999678
Compare
Choose a tag to compare

Please see the 0.3.1 release notes for more!

  • The normalize transform now also supports the min, max, and deviation basis methods. #603
  • The generated figure element now resets the max-width style to initial. #604
  • Update D3 to 7.2.1.

v0.3.0

04 Dec 18:23
c813ec0
Compare
Choose a tag to compare

Please see the 0.3.0 release notes for more!

  • Add color and opacity legends!
  • Add image marks!
  • Add an opacity mark option for object opacity.
  • Add default domains for all quantitative scales.
  • Allow the range option in conjunction with a continuous scheme for ordinal color scales.
  • Add scale.apply and scale.invert to the exposed scale returned by plot.scale(name).
  • Add a shorthand top-level margin option for symmetric margins.
  • Add a top-level className option to set the class name of plot elements.
  • Adopt tabular numerals for better alignment of numbers in ticks and text marks.
  • Fix plot.scale(name) to correctly represent the symmetric transform for diverging scales.
  • Fix Plot’s stylesheet to be inlined into the SVG rather than injected into the document head.

v0.2.9

12 Oct 04:23
ca57bbd
Compare
Choose a tag to compare
  • Update D3 to 7.1.1.

v0.2.8

01 Oct 20:01
30109b9
Compare
Choose a tag to compare

Please see the 0.2.8 release notes for more!

  • Add rank and quantile map transform methods.
  • Add the shuffle transform.
  • Add asymmetric inset options for position scales.
  • Fix the default range for the radius (r) scale to never be greater than 30px.
  • Fix how the bin, group, and stack transforms consume (or propagate) options.
  • Fix the count reducer to no longer inherit the channel name as a default label.
  • Fix the bin transform to coerce to dates when the thresholds are temporal.
  • Fix text marks to default strokeLinejoin to round.

v0.2.7

27 Sep 15:58
11ad912
Compare
Choose a tag to compare
  • Implement symmetric diverging scales by extending the domain instead of slicing the interpolator. #563