-
Notifications
You must be signed in to change notification settings - Fork 121
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
Add a cheatsheet #723
Comments
I'd love to see cheatsheets too! Personally, I think it would've saved me some documentation hunting. For example, early on I saw there was a
I also feel like I've lost a good bit of time trying to get vegalite to output specific visualizations. It's great for a lot of cases. But when you start doing non-data-driven things like annotating your visualization, I found that it gets tricky. Were you thinking of doing a |
Glad to hear it would be helpful! I was thinking of doing a @philss or @josevalim I'm sure there was a convo about this but I can't remember what the reasoning was for this anymore. #326 (comment) |
We changed the implementation and renamed at the same time but I am fine with reverting the name back to
It will certainly be much easier to find. |
Oh I didn't mean to pick up a stray issue! I was just using it as an example.
It may be worth having both since |
The issue is that doing it with a function is horribly expensive and should be generally avoided. |
Hey I wrote this a little after the earlier discussion. If it's not helpful just ignore me :) https://vega.github.io/editor/#/gist/e0675e1408ba1944deb1a747f03a060d/spec.json
Note that it does appear to be possible to add margins to the rectangles: https://vega.github.io/vega-lite/examples/rect_mosaic_labelled_with_offset.html But my cursory reading of that example makes it seem a bit complex:
|
Super helpful! Thank you @billylanchantin! I also don't think the margins are too important :). |
I'm excited about cheatsheets and something like this would beat "Ten minutes to Explorer", especially for those coming from dplyr or pandas who just need an easy reference.
dplyr: https://nyu-cdsc.github.io/learningr/assets/data-transformation.pdf
also dplyr: https://www.rstudio.com/wp-content/uploads/2015/02/data-wrangling-cheatsheet.pdf
pandas: https://pandas.pydata.org/Pandas_Cheat_Sheet.pdf
I started playing over the weekend but I think the diagrams are really powerful and got myself stuck trying to figure out how to replicate them in vega lite.
The text was updated successfully, but these errors were encountered: