Closed
Description
I frequently find myself using d3.range and desiring an inclusive range. I end up writing code like this:
d3.range(min, max, step).concat(max)
Since this appears rather cryptic, I thought I'd propose this clearer alternative:
d3.rangeInclusive(min, max, step)
This comes up at least once a month in my day to day work, I wonder if this is true for others as well.
Anyone else think this would be a useful addition to d3-array
?
Metadata
Metadata
Assignees
Labels
No labels