d3 / d3-interpolate

Interpolate numbers, colors, strings, arrays, objects, whatever!
https://d3js.org/d3-interpolate
ISC License
494 stars 69 forks source link

Readme#install: Add tip to load d3-color #84

Closed joallard closed 4 years ago

joallard commented 4 years ago

Just ran into this, I thought it would be helpful.

mbostock commented 4 years ago

Isn’t that already addressed with the first line of the following snippet, that loads d3-color?

joallard commented 4 years ago

It is. I had just mentally skipped over it thinking it was boilerplate includes. (I have bad attention patterns.) I agree though that the benefit of documenting the example in the text is marginal. I don't have a strong opinion here, I just thought it might help save 5 minutes to some people.