You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// A function that draws a thin white line to the left of each month.functionpathMonth(t){constd=Math.max(0,Math.min(5,countDay(t.getUTCDay())));constw=timeWeek.count(d3.utcYear(t),t);return`${d===0 ? `M${w*cellSize},0` : d===5 ? `M${(w+1)*cellSize},0` : `M${(w+1)*cellSize},0V${d*cellSize}H${w*cellSize}`}V${5*cellSize}`;}
curran
changed the title
pathMonth?
Add pathMonth for Calendar View to D3
Aug 12, 2024
This little snippet appears in calendar view visualizations, but I don't believe it's part of D3 itself.
(from https://observablehq.com/@d3/calendar-view)
Might it make sense to add this to
d3-shape
? Or maybe as a separate D3 package?The text was updated successfully, but these errors were encountered: