question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE] Ability to add label text to individual bubble chart points

See original GitHub issue

When I’m using bubble charts, I’m often looking to see how something, say a project, compares to other projects. To do this you need to be able to tell what each bubble represents by having a text or label associated with each bubble.

It be reasonable to suggest that this could be done by creating different data sets for each bubble. However that becomes impractical with larger data sets (e.g. > 10) due to the difficulty of matching up the bubble color to the legend color to get the data point name.

It’d also be reasonable to suggest that you could add this information to the tooltip. However, with only one tooltip visible at a time it’s not possible to compare. And if they were, we’d lose the ability to show more detailed information on the tooltip, not to mention the potential clutter of all the tooltips being visible at once (again, larger data sets).

For some context, see my stackoverflow post for a specific example with screenshots. We’re visualizing a number of projects with 3 numeric characteristics, with data sets for different departments. Below the chart we have a table of the projects with additional details. The chart is matched up with the by the ranking of the project.

An ideal solution would be to allow for text to be defined in the data for the bubble chart. data: [ { x: 10, y: 20, r: 30, label: "#22" } ]

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

0reactions
kennycrosbycommented, Jun 2, 2021

@kurkle this works perfectly thank you 🙏🏻

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add or remove data labels in a chart - Microsoft Support
On the Layout tab, in the Labels group, click Data Labels, and then click the option that you want. For additional data label...
Read more >
Can individual bubbles in a chartjs bubble chart have labels?
I am able to create tooltips that describe each of the bubbles, but users of my chart may not be able to hover...
Read more >
A Complete Guide to Bubble Charts | Tutorial by Chartio
Bubble Charts extend scatter plots by allowing point size to indicate the value of a third variable. Learn how to best use this...
Read more >
Excel: How to Create a Bubble Chart with Labels - Statology
To add labels to the bubble chart, click anywhere on the chart and then click the green plus “+” sign in the top...
Read more >
How to create a scatter chart and bubble chart in PowerPoint
The label content control lets you select the format of the text field for each label, allowing the display of the label text...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found