Compare Scatter Plots (DP_CSP)

This function compares scatter plots for pairs of columns in a given input dataset

Scatter plots are a type of data visualization that display the relationship between two variables. Each point on the plot represents a pair of values for the two variables being compared. Scatter plots are useful for identifying patterns or trends in data, and for detecting outliers or unusual observations.

Sample Request

This request reshapes the passed data to a specified dimension

{
    "project_id": 1,
    "block_id": ,
    "parent_id": 0,
    "function_code": "DP_CSP",
    "args": {
        "avalue": "http://cloud.autogonai.s3.amazonaws.com/1a65c19c-b891-4be3-bbfe-ed5c5ec58207.csv",
        "bvalue": "http://cloud.autogonai.s3.amazonaws.com/143ac49a-7bbc-4224-a58e-d6811930b86b.csv",
        "xvalue": "http://cloud.autogonai.s3.amazonaws.com/143ac49a-7bbc-4224-a58e-d6811930b86b.csv",
        "yvalue": "http://cloud.autogonai.s3.amazonaws.com/1a65c19c-b891-4be3-bbfe-ed5c5ec58207.csv",
        "is_grid": true

    }
}

Parameter Details

Compare Scatter Plots

POST https://autogon.ai/api/v1/engine/start

Request Body

NameTypeDescription

project_id*

int

current project ID

parent_id*

int

parent block ID

block_id*

int

current block ID

function_code*

String

block's function code

xvalue*

String

The input data representing the x-axis values on the first plot. This can be a string representing a URL to a CSV file.

args

object

block arguments

yvalue*

String

The input data representing the y-axis values on the second plot. This can be a string representing a URL to a CSV file.

is_grid

Bool

Whether to enable grid in the scatter plot. Default is False.

avalue

String

The input data representing the x-axis values on the first plot. This can be a string representing a URL to a CSV file.

bvalue

String

The input data representing the y-axis values on the second plot. This can be a string representing a URL to a CSV file.

{
    "status": "true",
    "message": {
        "id": 3,
        "project": 1,
        "block_id": 7,
        "parent_id": 6,
        "dataset_url": "",
        "x_value_url": "",
        "y_value_url": ""
    }
}
// Some code

Last updated