Skip to content

Feature Request: Size Legend Bubble Chart #705

Open
@mviertel

Description

@mviertel

I am not sure whether this is the right forum to address the issue. Nevertheless, after quite some searching, I was unsuccessful to figure out a way to add a legend to a bubble chart, that reflects information on the bubble size in a chart like the one below.

library(plotly)
d <- diamonds[sample(nrow(diamonds), 1000), ]
plot_ly(d, x = carat, y = price, size = carat, mode = "markers")

I am looking for something a similar chart legend like in the picture attached.

If I am off topic here, please don´t hesitate to close the issue - a hint to a solution would be highly appreciated, though.

Best
Michael

image source: https://visage.co/data-visualization-101-bubble-charts/

screen-shot-2015-02-04-at-4 41 48-pm

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