observablehq / stdlib

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

Update D3 to 7.0, Plot to 0.2, and HTL to 0.3 #230

Closed mbostock closed 2 years ago

mbostock commented 3 years ago

The major changes in 7.0 are mostly in regard to the adoption of type: module and requirement of Node 12.x, but there are some small other changes to d3.bin and d3.ascending/d3.descending. Should we upgrade anyway? Or should we wait until we have version pinning.

Fil commented 3 years ago

We can introduce the mode reducer later, or by copying the code into Plot, that's not blocking for Plot. My preference nonetheless would go to upgrading now, if the risk is acceptable. (Sorry for the useless comment ;-) )

mbostock commented 3 years ago

This should happen at the same time we upgrade Plot to 0.2 and HTL to 0.3.

mbostock commented 2 years ago

Fixed in #242.