Open
Description
In a case like this (data), it’d be nice to avoid the commas for the year axis:
Plot.plot({
width,
color: { legend: true },
marks: [
Plot.rectY(overview, { x: "Year", y: "Value", fill: "Type", interval: 1 })
]
})
Of course, you can do it with x: {tickFormat: ""}
, but could Plot figure this out automatically?
Similarly when you do something like title: "Year"
, it’s a bummer that the automatic formatting for numbers shows a comma. I think we could maybe track a hint that looks for (case-insensitive) “year” and avoids the comma.