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

Support Wilkinson Dot Plots #1060

Closed
1 of 3 tasks
kanitw opened this issue Feb 3, 2016 · 3 comments
Closed
1 of 3 tasks

Support Wilkinson Dot Plots #1060

kanitw opened this issue Feb 3, 2016 · 3 comments

Comments

@kanitw
Copy link
Member

kanitw commented Feb 3, 2016

This will allow us to nicely create the Wilkinson Dot Plots.

A few superb examples that inspire me:

http://graphics.wsj.com/job-market-tracker/

track_national_unemployment__job_gains_and_job_losses_-_wsj_com

http://roadtolarissa.com/nba-minutes/

minute_by_minute_point_differentials_of_2015_nba_games

To do this, we need to:

  • allow stacking point
  • allow putting _id in the field (esp. for detail)
  • allow using mid point of the stack operation instead of stack start / end
@kanitw kanitw modified the milestones: 1.x.x Patches & Minor Features, 1.x Features Feb 3, 2016
@kanitw kanitw changed the title Allow Stacking Raw Point Allow Stacking Raw Point / Line Jun 19, 2016
@kanitw kanitw added P3-Medium and removed P4-Low labels Jun 19, 2016
@kanitw kanitw modified the milestones: 1.x.x? Patches & Minor Features, 2.x.x Patches & Features Oct 2, 2016
@kanitw kanitw changed the title Allow Stacking Raw Point / Line Support Cleveland Dot Plots Oct 20, 2016
@kanitw kanitw modified the milestones: 2.x.x Features & Patches, 2.x Visual Encoding Patches Sep 22, 2017
@kanitw kanitw removed the P3-Medium label Sep 22, 2017
@kanitw
Copy link
Member Author

kanitw commented Mar 3, 2018

ID can be done using row_order operator in the pending window transform #2488.

@kanitw kanitw modified the milestones: 2.x Visual Encoding Patches, 2.x Statistical Graphics & Macros / Composite Marks Mar 3, 2018
@kanitw kanitw changed the title Support Cleveland Dot Plots Support Wilkinson Dot Plots May 8, 2018
@kanitw
Copy link
Member Author

kanitw commented May 23, 2018

Note that currently non-ranged mark (e.g. point, line) uses stack end point for it position (to allow overlaying point and line on top of stacked area. However, when stacking point along like in Wilkinson dot plot. We will need to use the mid position.

Two possible solutions:

  1. Use stack transform and manually calculate mid point
  2. Extend the stack property to support new type of "zero" offset. (Maybe call it zero-mid?)

@kanitw kanitw modified the milestones: 2.x Statistical Graphics & Macros / Composite Marks, 2.x Data & Transforms Patches May 23, 2018
@kanitw kanitw mentioned this issue May 26, 2018
5 tasks
@kanitw
Copy link
Member Author

kanitw commented May 26, 2018

Closing as this should be done as a part of #3819

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant