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
It’d be nice if the bin transform were smart enough to detect integers and make sure that the bin size is not fractional. For example consider the Chinook dataset where the MediaTypeId column is a number whose value is 1, 2, 3, 4, or 5:
When switching to groups (which gives a better histogram in this case), there is a risk of not showing groups with no data, and the interval option is needed.
There’s probably a similar enhancement here with temporal data: e.g., if the values are all at UTC midnights, then we shouldn’t choose a bin threshold shorter than d3.utcDay. But testing for lots of time intervals (seconds, minutes, hours, days, weeks, months, years) might be slow… though maybe still fast enough to be worth doing.
It’d be nice if the bin transform were smart enough to detect integers and make sure that the bin size is not fractional. For example consider the Chinook dataset where the MediaTypeId column is a number whose value is 1, 2, 3, 4, or 5:
If the bin transform detected integers automatically, you could get something like this instead:
Potentially this could also work with the interval-aware default tick format, too. #932
Though, I suppose the group transform would be even better here…
The text was updated successfully, but these errors were encountered: