Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble With Data Length in geom_alluvial #34

Open
cmenick opened this issue Feb 14, 2023 · 0 comments
Open

Trouble With Data Length in geom_alluvial #34

cmenick opened this issue Feb 14, 2023 · 0 comments

Comments

@cmenick
Copy link

cmenick commented Feb 14, 2023

I am attempting to use a column of color codes to manually fill the flows while using geom_alluvial. When I use this however, I get the error that "! Aesthetics must be either length 1 or the same as the data (13800) Fix the following mappings: fill". However, in this case, 13800 does not match the length of my data (52986). I see the same pattern with other datasets, where the length of the data within geom_alluvial is different than the actual, and is always a number rounded to the nearest 100. The chart appears as it should otherwise.

What determines the length of the data in geom_alluvial, and why is it different than the length of the data?

@cmenick cmenick changed the title Trouble With Data Length in Geom_Alluvium Trouble With Data Length in geom_alluvial Feb 14, 2023
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

No branches or pull requests

1 participant