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

feat: Fix Scatterplot #529

Open
8 tasks
dvmoritzschoefl opened this issue Sep 17, 2024 · 4 comments
Open
8 tasks

feat: Fix Scatterplot #529

dvmoritzschoefl opened this issue Sep 17, 2024 · 4 comments
Labels
type: feature New feature or request

Comments

@dvmoritzschoefl
Copy link
Contributor

dvmoritzschoefl commented Sep 17, 2024

Currently the scatterplot has severe problems as described in #470

Step 1 is to collect a list of requirements for the scatter plot that we want to support in accordance with @dg-datavisyn

  • Faceting
    Should split up the data by a categorical attribute and create one plot for each category. The axis of the plots should be synced (vertical & horizontal). Each plot has its own selection which are merged in the vis config. So one could select points from one plot and add points from another plot by holding shift/ctrl, but it would also be possible to double click any plot to clear the selection.
  • Matrix
    Should create a scatterplot matrix as soon as we have 3 or more numerical attributes. Each plot should show the data for the attribute in its column/row. Selections are synced across the plots. Double clicking any plot clears the selection.
  • Color
    We want to color by numerical/categorical attributes. In the faceting and matrix case the color scale is global, ensuring that the categories have the same color and the numerical relationship between plots is preserved.
  • Shape
    Analog to the color channel (in contrast to the current plot it should also be supported in faceting and matrix mode)
  • Opacity
    Analog to the color channel
  • Tooltip labels
    Correct me @dg-datavisyn but this should just add the attribute to the hover tooltip?
  • Show labels
    Clear what it does
  • Regression line
    Shows a regression line and an overlay for the coefficients. Should also work in the faceting/matrix mode
@dvmoritzschoefl dvmoritzschoefl added the type: feature New feature or request label Sep 17, 2024
@dg-datavisyn
Copy link
Contributor

dg-datavisyn commented Sep 17, 2024

I would add

  • click in an empty space resets selection
  • double-click resets plot

@dvchristianbors
Copy link
Contributor

dvchristianbors commented Sep 17, 2024

Some comments:

  • Color
    We want to color by numerical/categorical attributes. In the faceting and matrix case the color scale is global, ensuring that the categories have the same color and the numerical relationship between plots is preserved.

Can this be overridden in the settings, with the above behavior only being the default?

  • Tooltip labels
    Correct me @dg-datavisyn but this should just add the attribute to the hover tooltip?

In its current functionality, you can specify columns that are shown in the tooltip. Are we removing this feature again?

@dg-datavisyn
Copy link
Contributor

No, we are not removing this. To the contrary, Moritz is currently working on major refactorings of the scatterplot, and this ticket is here to make sure all features find their way back

@dg-datavisyn
Copy link
Contributor

Some fundamental design drawbacks make this refactoring necessary. Moritz can explain the technical details. @thinkh, @dvmartinweigl, and @oltionchampari were involved in the discussion and decision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants