Skip to content

rename transforms - #104

Closed
mbostock wants to merge 1 commit into
mainfrom
mbostock/transform-rename
Closed

mbostock wants to merge 1 commit into
mainfrom
mbostock/transform-rename

Conversation

@mbostock

@mbostock mbostock commented Jan 22, 2021

Copy link
Copy Markdown
Member

Fixes #145.

Transformed marks now use the naming convention {transform}{mark}, making the underlying type of mark clearer, and also allowing the transforms to have simpler names.

Transforms:

  • bin1 ↦ bin
  • bin2 ↦ bin
  • group1 ↦ group
  • group2 ↦ group

Marks:

  • bin ↦ binRect
  • binY ↦ binRectX
  • binX ↦ binRectY
  • group ↦ groupCell
  • groupY ↦ groupBarX
  • groupX ↦ groupBarY

What do you think? Good idea? Bad? 👍 👎

@mbostock
mbostock requested a review from Fil January 22, 2021 22:45
@mbostock
mbostock force-pushed the mbostock/transform-rename branch 2 times, most recently from 4216521 to a3ebcf2 Compare January 22, 2021 22:49
@mbostock
mbostock force-pushed the mbostock/transform-rename branch from a3ebcf2 to 70e99dd Compare January 22, 2021 22:51
@Fil

Fil commented Jan 23, 2021

Copy link
Copy Markdown
Contributor

👍 I vote it up, as it makes more intuitive sense to me to imagine the y meaning "variable height bars" (ie. "group stuff to make vertical bars" rather than "group on horizontal"). And it indicates that we have "transform then mark", a notion which isn't present in the binX/groupX notation.

@Fil

Fil commented Feb 10, 2021

Copy link
Copy Markdown
Contributor

Related: sources of confusion with y marks.

@mbostock

Copy link
Copy Markdown
Member Author

Superseded by #176.

@mbostock mbostock closed this Feb 27, 2021
@mbostock
mbostock deleted the mbostock/transform-rename branch February 27, 2021 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants