Skip to content

mode:text for regl-scatter2d #2501

Closed
Closed
@jackparmer

Description

@jackparmer

I have a few bio customers who need to display hundreds to thousands of single letter markers like in the below graph:

image

@dfcreative already has a great example of single-letter rendering for regl-scatter2d here:
https://dfcreative.github.io/regl-scatter2d/copyrights.html

I'd like to propose that mode: text be enabled for scattergl, but only work for single letters (for now).

Note that mode: text currently does not do anything for scattergl: https://codepen.io/plotly/pen/dmZNjM

We've tried creating graphs like the above with SVG, but for a larger number of letters, they are too slow. Here is an SVG example with a mode: text scatter trace overlaid on a heatmap trace: https://plot.ly/~jackp/18395/ (Note how long it takes to update when dragging the slider).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions