Releases: observablehq/plot
Releases · observablehq/plot
v0.4.3
Please see the 0.4.3 release notes for more!
- Add tree mark and transforms. 🌲 #136 #841
- Add dense interval option to line and area marks. #351 #597 #792
- Add Plot.column and Plot.transform. #170 #411 #842
- Add function support for the stack transform’s offset option. #814
- Add quantize scale type. #828 #829
- The rect mark may now promote x to x1 and x2, and y to y1 and y2. #831
- Fix type coercion for the bin transform’s inputs. #789 #790
- Fix default format for text and title channels. #793 #794
- Fix rendering of one-dimensional rects. #816 #817
- Fix rendering of swoopy arrows. #832 #833
- Improve error messages. #822
- Improve how facets and axes are implemented. #799
- Improve margins in tests. #838
v0.4.2
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
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
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
v0.3.1
v0.3.0
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
v0.2.8
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.