Skip to content

Conversation

@Fil
Copy link
Contributor

@Fil Fil commented Jun 13, 2022

Note: is it explicit enough, given that a common error is people who see the pattern {facet: {data, x: "category"} } and replace data with their own variable name, resulting in {facet: {data2, x: "category"} }?

another wording might be the values to facet must be specified as the data property, or something to that effect.

@Fil Fil requested review from eagereyes and mbostock June 13, 2022 15:26
@eagereyes
Copy link
Contributor

eagereyes commented Jun 13, 2022

It's a good point, sometimes I think our elegant little examples end up being harder to reuse (same with using k in the window examples).

How about, "Facet specification requires a 'data' property"?

Co-authored-by: Mike Bostock <mbostock@gmail.com>
@Fil Fil merged commit c4ceccb into main Jun 13, 2022
@Fil Fil deleted the fil/facet-missing-data branch June 13, 2022 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants