Dokumentation (english)

Bubble Chart

Visualize three dimensions with position and size

Use me when a scatter plot isn't enough - I add a third dimension with bubble size! Great for comparing countries (population as bubble size), products (price vs. sales vs. profit), or anything where three variables tell the story together. Bigger bubbles grab attention, positions show relationships, and suddenly your data has depth.

Overview

A bubble chart is an extension of a scatter plot that adds a third dimension through bubble size. Each point is represented as a circle (bubble) where the X and Y positions show two variables, and the size of the bubble represents a third variable. This allows visualization of three-dimensional relationships in a two-dimensional space.

Best used for:

  • Displaying three related numerical variables simultaneously
  • Comparing entities across multiple dimensions
  • Showing proportional relationships (larger bubbles = higher values)
  • Portfolio analysis (risk vs return vs investment size)
  • Market analysis (price vs sales vs market share)
  • Resource allocation visualization

Common Use Cases

Business & Market Analysis

  • Product portfolio (price vs sales vs profit margin)
  • Market positioning (market share vs growth vs revenue)
  • Customer segmentation (age vs income vs purchase volume)
  • Investment analysis (risk vs return vs capital)
  • Sales performance (units vs revenue vs profit)

Scientific Research

  • Population studies (fertility vs life expectancy vs population size)
  • Environmental data (temperature vs precipitation vs area)
  • Experimental results with three measured variables
  • Particle or entity analysis

Project Management

  • Resource allocation (time vs cost vs team size)
  • Risk assessment (probability vs impact vs exposure)
  • Project comparison (duration vs budget vs complexity)

Options

Bubble Size

Optional - Define what determines the size of each bubble.

Column

Select the numerical column that will control bubble sizes.

Aggregation Function

Choose how to aggregate values:

Options:

  • Sum - Total values
  • Count - Number of occurrences
  • Mean - Average value
  • Median - Middle value
  • Min - Minimum value
  • Max - Maximum value
  • Std - Standard deviation
  • Var - Variance
  • First - First value
  • Last - Last value

X-Axis

Required - Select the numerical column for horizontal position.

Column

The numerical values for the X-axis.

Aggregation Function

Aggregate X values if needed (same options as Bubble Size).

Y-Axis

Required - Select the numerical column for vertical position.

Column

The numerical values for the Y-axis.

Aggregation Function

Aggregate Y values if needed (same options as Bubble Size).

Bubble Column

Required - Column to identify individual bubbles or group them.

Each unique value in this column will create one bubble (or one bubble per group if aggregating).

Facet Columns

Optional - Split plot into columns by category.

Creates multiple sub-plots side-by-side, one for each value in the selected categorical column.

Facet Rows

Optional - Split plot into rows by category.

Creates multiple sub-plots stacked vertically, one for each value in the selected categorical column.

Settings

Hide Empty Values

Optional - Exclude data points with no values.

Show Trendline

Optional - Add a trend line showing relationship.

Shows the overall trend between X and Y variables (bubble size doesn't affect trendline).

Use Logarithmic Scale For X Axis

Optional - Apply log scale to X-axis.

Use Logarithmic Scale For Y Axis

Optional - Apply log scale to Y-axis.

Show Gridlines

Optional - Display background grid.

Marginal X Distribution

Optional - Show distribution plot above X-axis.

Options:

  • None - No marginal plot
  • Histogram - Distribution histogram
  • Box - Box plot
  • Violin - Violin plot
  • Rug - Rug plot (tick marks)

Shows the distribution of X values along the top edge of the plot.

Marginal Y Distribution

Optional - Show distribution plot beside Y-axis.

Options:

  • None - No marginal plot
  • Histogram - Distribution histogram
  • Box - Box plot
  • Violin - Violin plot
  • Rug - Rug plot (tick marks)

Shows the distribution of Y values along the right edge of the plot.

Tips for Effective Bubble Charts

  1. Size Matters:

    • Use bubble size for important third dimension
    • Ensure size differences are visually meaningful
    • Avoid using size for negative values
    • Consider normalizing if sizes vary greatly
  2. Avoid Overlap:

    • Too many bubbles create clutter
    • Filter to most important data points
    • Use transparency (opacity) to see overlapping bubbles
    • Consider using jitter or adjusting bubble size scale
  3. Scale Appropriately:

    • Use log scale when data spans orders of magnitude
    • Ensure all axes start at meaningful points
    • Consider aspect ratio for square vs rectangular plots
  4. Color Strategy:

    • Use color to add a fourth dimension (categories)
    • Keep color scheme consistent with other visualizations
    • Ensure sufficient contrast
  5. Label Important Points:

    • Add labels to key bubbles
    • Use hover information to show exact values
    • Consider annotations for outliers or interesting points
  6. Marginal Plots:

    • Add marginal distributions to understand each dimension independently
    • Use histograms for overall distribution shape
    • Use box plots to see quartiles and outliers

Example Scenarios

Product Portfolio Analysis

Price vs Sales vs Profit Margin

Market Positioning

Market Share vs Growth Rate vs Revenue

Resource Allocation

Time vs Cost vs Team Size

Risk vs Return Analysis

Risk vs Expected Return vs Investment Amount

Troubleshooting

Issue: Bubbles overlap and hide each other

  • Solution: Reduce opacity (try 40-60%), decrease bubble size scaling, add jitter, or use interactive tooltips to explore overlapping bubbles.

Issue: Can't distinguish bubble sizes

  • Solution: Increase size range (min/max), use size legend, ensure data range isn't too narrow, or normalize size values.

Issue: Too many bubbles make chart cluttered

  • Solution: Filter to show only top N items, aggregate similar items, use animation to show over time, or create small multiples by category.

Issue: Small bubbles are invisible

  • Solution: Set minimum bubble size (e.g., 5px), use log scale for size, or filter out very small values if not meaningful.

Issue: Large bubbles dominate the view

  • Solution: Use square root or log scaling for bubble size instead of linear, cap maximum size, or show large bubbles with transparency.

Issue: Can't see the pattern in X-Y relationship

  • Solution: Add trend line, reduce bubble size, use color instead of size for third dimension, or create scatter plot first to see pattern.

Issue: Color and size encode similar information

  • Solution: Use color for categorical grouping and size for quantitative measure, or ensure they represent truly different dimensions.

Issue: Axes scale make bubbles cluster in corner

  • Solution: Use log scale on one or both axes, filter outliers, or normalize data to better distribute bubbles.

Issue: Need to show fourth dimension

  • Solution: Use animation over time as fourth dimension, create faceted plots, or accept that 4D is hard - consider multiple 3D views instead.

Issue: Bubble chart vs scatter plot confusion

  • Solution: Use bubble chart only when size adds meaningful information. If all bubbles same size, use scatter plot instead.

Command Palette

Search for a command to run...

Schnellzugriffe
STRG + KSuche
STRG + DNachtmodus / Tagmodus
STRG + LSprache ändern

Software-Details
Kompiliert vor 1 Tag
Release: v4.0.0-production
Buildnummer: master@64a3463
Historie: 68 Items