Bubble Chart Calculator

Explore machine learning relationships using interactive bubbles, flexible sizing, category colors, filters, regression insights, statistical summaries, and export-ready charts for clearer analysis and reporting.

Bubble Chart Results

Processed Data

#LabelCategorySetXYRaw SizeMarker SizeOutlierError

Interpretation

Group Summary

GroupCountMean XMean YTotal Size

Merged Results Data

Generate a chart to view results.

1. Data Input

Expected columns: x, y, size, label, category, set, actual, predicted, misclassified, color, tooltip.
Use an array of row objects.
XYSizeLabelCategoryDatasetActualPredictedError?ColorTooltip

2. Chart Labels and Appearance

3. Bubble Size and Axis Controls

Allowed: x, y, size, abs, sqrt, log, min, max, pow.

4. Filtering, Grouping, and ML Analysis

Formula Used

Each row supplies an X coordinate, Y coordinate, and magnitude. Marker sizes are mapped between selected minimum and maximum limits.

Linear scaling: m = mmin + ((s − smin) ÷ (smax − smin)) × (mmax − mmin).

Correlation: r = Σ((x − x̄)(y − ȳ)) ÷ √(Σ(x − x̄)²Σ(y − ȳ)²). Regression uses ordinary least squares.

How to Use

  1. Enter rows manually, paste data, or upload CSV or JSON.
  2. Choose labels, scaling, axes, colors, filters, and analysis options.
  3. Generate the chart and inspect statistics, groups, warnings, and selections.
  4. Export the visualization or processed dataset in your preferred format.

Example Data Structure

xysizelabelcategorysetactualpredicted
1.22.845Model ACluster 1Training2.72.8
3.44.3110Model CCluster 2Testing4.84.3

Frequently Asked Questions

What does bubble size represent?

It represents a third numeric variable such as confidence, frequency, error, sample weight, or importance.

Should marker radius or area represent values?

Area-based scaling is often easier to interpret because viewers compare visible marker areas.

Can categories use different colors?

Yes. Category groups receive palette colors, or each row can provide a custom color.

How are outliers detected?

The calculator supports Z-score distance across coordinates or IQR detection using bubble-size values.

Can I compare actual and predicted values?

Yes. Add actual and predicted columns to calculate MAE, MSE, RMSE, and R-squared.

What happens to invalid rows?

They are removed when validation filtering is enabled. Otherwise, generation stops with an error.

Can duplicate coordinates be combined?

Yes. Duplicate X and Y positions can be aggregated while their bubble sizes are summed.

Does the chart support zooming and selection?

Yes. Plotly provides zoom, pan, box selection, lasso selection, reset, hover, and click inspection.

Which export formats are available?

The chart exports to PNG, SVG, or PDF. Processed data exports to CSV or JSON.

Related Calculators

Scatter PlotPair PlotScatterplot MatrixCorrelation HeatmapHexbin Plot2D Density PlotJoint PlotCategorical Scatter PlotParallel Coordinates PlotAndrews Curves

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.