observablehq / stdlib

The Observable standard library.
https://observablehq.com/@observablehq/standard-library
ISC License
957 stars 83 forks source link

Add __table function and unit tests #304

Closed annie closed 1 year ago

annie commented 1 year ago

This PR ports over @mbostock's __table function, as defined in https://github.com/observablehq/observablehq/pull/8300, and adds missing support for the lt and gt filter operations. Also adds unit tests.