I came across the behavior shown in this notebook, where plotting date strings on a utc scale ceases to work if the scale additionally has an interval property.
Plot.dotX(dates).plot({ x: { type: "utc" } }) // dots are rendered
Plot.dotX(dates).plot({ x: { type: "utc", interval: d3.utcDay } }) // dots are not rendered
According to the docs time scales coerce channel values to dates, so I think the first chart is right, and there might be something weird happening when the interval option gets involved.
I came across the behavior shown in this notebook, where plotting date strings on a
utcscale ceases to work if the scale additionally has anintervalproperty.According to the docs time scales coerce channel values to dates, so I think the first chart is right, and there might be something weird happening when the
intervaloption gets involved.