mbostock/d3 — Issue #392: d3.interpolate("10px", 20) fails.
Author: mbostock
Created: 2011-11-28 17:19:34+00:00
State: open
Labels: bug

This should use d3.interpolateString rather than d3.interpolateNumber. One possible fix:

```javascript
function(a, b) { return !isNaN(+a = a) && !isNaN(+b = b) && d3.interpolateNumber(a, b); }
```