Pie Plots (DP_PIE)

This function creates pie plots for a given input dataset.

Pie plots, also known as pie charts, are a simple and effective way to visualize data proportions or percentages in a circular format. They are particularly useful for displaying categorical data and showing the distribution or composition of different categories within a whole. Each category is represented by a wedge-shaped slice, with the size of the slice corresponding to the proportion or percentage it represents. Pie plots provide a quick and intuitive

Sample Request

{
    "project_id": 1,
    "block_id": ,
    "parent_id": 0,
    "function_code": "DP_PIE",
    "args": {
        "dataset": "http://cloud.autogonai.s3.amazonaws.com/1a65c19c-b891-4be3-bbfe-ed5c5ec58207.csv"
    }
}

Parameter Details

Pie 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

args*

object

block arguments

dataset*

String

URL for dataset to be plotted from

{
    "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