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

New bubble chart Demo #1931

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

kedij777
Copy link

@kedij777 kedij777 commented Jan 7, 2024

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior? (You can also link to an open issue here)
To achieve bubble chart with group name as Y-value, the current bubble chart requires a lot of redundant information for data input. E.g. export const bubble: BubbleChartMultiSeries = [ { name: 'Germany', series: [ { name: '2010', x: '2010', y: 'Germany', r: 80.4 }, { name: '2000', x: '2000', y: 'Germany', r: 78 }, { name: '1990', x: '1990', y: 'Germany', r: 79 } ] }, .
In order to fix the problem, I added this new 2D bubble chart, which only requires group name, x value, and r value as data input. E.g. { name: 'Germany', series: [ { x: '2010', r: 8.4 }, { x: '2000', r: 1278 }, { x: '1990', r: 579 } ] }

What is the new behavior?
IMG_3111

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

@kedij777 kedij777 changed the title New 2d bubble chart New bubble chart Demo Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant