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
maybe for safety we can add it later, before we pass it to this.transform (but I doubt it's necessary?):
@@ -29,7 +29,7 @@ export class Mark {
});
}
initialize(facets) {
- let data = this.data;+ let data = arrayify(this.data);
let index = facets === undefined && data != null ? range(data) : facets;
if (data !== undefined && this.transform !== undefined) {
if (facets === undefined) index = index.length ? [index] : [];
Uh oh!
There was an error while loading. Please reload this page.
If the data is a Map (for example obtained with d3.rollup), faceting doesn't work. Documentation or bug?
https://observablehq.com/d/a3de0aa6815cab5c
plot/src/facet.js
Line 41 in 9eeafaa
The text was updated successfully, but these errors were encountered: