Class BubblePlot

java.lang.Object
tech.tablesaw.plotly.api.BubblePlot

public class BubblePlot extends Object
  • Constructor Details

    • BubblePlot

      public BubblePlot()
  • Method Details

    • create

      public static Figure create(String title, tech.tablesaw.api.Table table, String xCol, String yCol, String sizeColumn, String groupCol)
    • create

      public static Figure create(String title, tech.tablesaw.columns.Column<?> xColumn, tech.tablesaw.columns.Column<?> yColumn, tech.tablesaw.api.NumericColumn<?> sizeColumn, double[] color, Marker.SizeMode sizeMode, Double opacity)
      create a bubble plot using more options including color/sizeMode/opacity
      Parameters:
      title - plot title
      xColumn - non-nullable, column data for x-axis
      yColumn - non-nullable, column data for y-axis
      sizeColumn - nullable, indicate the bubble size
      color - color for every data point
      sizeMode - check Marker.SizeMode
      opacity - display opacity
      Returns:
      bubble plot created from given parameters
    • create

      public static Figure create(String title, tech.tablesaw.api.Table table, String xCol, String yCol, String sizeCol)
      create a bubble plot using column names
      Parameters:
      title - plot title
      table - source Table to fetch plot datap points
      xCol - non-nullable, column name for x-axis
      yCol - non-nullable, column name for y-axis
      sizeCol - nullable, column name for bubble size
      Returns:
      bubble plot created from given parameters
    • create

      public static Figure create(String title, String xTitle, double[] xCol, String yTitle, double[] yCol)