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

Following something through variables #12

Open
ZeldaDoyle opened this issue Mar 27, 2023 · 4 comments
Open

Following something through variables #12

ZeldaDoyle opened this issue Mar 27, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@ZeldaDoyle
Copy link

I am trying to track movements by year - so seeing how people move between places by their graduation year. Currently the only way I can seem to do it is alluvial GradYear var1 GradYear v2 etc etc. Ideally I would like to dosomething like by GradYear: alluvial var1 var2 etc, but have all the gradyears on the graph.

@asjadnaqvi
Copy link
Owner

Can you give an example with code or graph please.

@ZeldaDoyle
Copy link
Author

Can you give an example with code or graph please.
Sure!
The code I am currently using is
. alluvial GradYear PGY12 PGY34 GradYear PGY56 PGY78 GradYear PGY910 which gives me
the attached graph.
Example.pdf

What I would like is for the GradYear to follow through PGY12 PGY34 etc, so I don't have to stick the extra GradYears in to see the breakup. Hope this helps.

@asjadnaqvi
Copy link
Owner

Thank you for the detailed example! I can now see what you are trying to do and it is good to see that the command is at least working for all these layers :)

You have a very specific implementation request so I have to think about a generic implementation to be able to by() the diagram.

It might even be better to split each year into different Alluvials and then use graph combine to stack them on top of each other. Otherwise the way it is done now, over inflates the Metro category.

@asjadnaqvi
Copy link
Owner

merge with #18

@asjadnaqvi asjadnaqvi added the enhancement New feature or request label Apr 19, 2023
@asjadnaqvi asjadnaqvi self-assigned this Apr 19, 2023
@asjadnaqvi asjadnaqvi moved this from Low priority to Unassigned in StataViz issue tracker Apr 21, 2023
@asjadnaqvi asjadnaqvi moved this from Unassigned to Medium priority in StataViz issue tracker Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Next update
Development

No branches or pull requests

2 participants