Skip to content

Scatter Plot Matrix (aka SPLOM) discussion #2372

Closed
@etpinard

Description

@etpinard

SPLOMs are coming to plotly.js.

For the uninitiated, docs on the python api scatterplotmatrix figure factory are here. Seaborn calls it a pairplot. Matlab has plotmatrix draw function.

Some might say that SPLOMs are already part of plotly.js: all we have to do is generate traces for each combination of variables and plot them on an appropriate axis layout (example).

But, this technique has a few limitations and inconveniences:

  • data arrays are duplicated, which impacts performance when the number of variables and/or the data array lengths are large
  • creating the axes layout and correctly linking the scatter traces is tedious. Note that the python api exposes a few tools to make this smoother, but these aren't available to plotly.js users.
  • ....
  • feel free to edit and append this list

Numerous solutions are available. This issue will attempt to spec out the best one.

cc @dfcreative @alexcjohnson @cldougl @chriddyp

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions