Plot editor
- 1 Plot editor function
- 2 Possible source types
- 3 Plot types
- 3.1 Scatter plot
- 3.2 Horizontal boxplot
- 3.3 Vertical boxplot
- 3.4 Bar chart
- 3.5 Heatmap
- 3.6 Pie chart
- 3.7 Line chart
- 3.8 Area chart
- 3.9 Bar chart
- 3.10 Stacked bar chart
- 4 Column types
- 4.1 Numeric
- 4.2 Categorical
- 4.3 Date/Datetime
Plot editor function
The user can start the plot editor on the project page with organization admin or organization member access:
Possible source types
Project metadata
Custom source:
CSV
TSV
Parquet
Plot types
The plot type depends on the selected column types.
If X column type is numeric:
If Y column is None then the plot is a column, bar, pie, line, or area chart, with counts, possibly colored.
If Y column is numeric then the plot is a scatter plot, possibly colored.
If Y column is categorical then the plot is a horizontal boxplot, possibly colored.
If X column type is categorical:
If Y column is numeric then the plot is a vertical boxplot, possibly colored.
If Y column is categorical then the plot is a heatmap.
If Color column is None then the heatmap is colored by counts.
If Color column is numeric then the heatmap is colored by col_color.
If Color column is categorical then an error is raised.
If Y column is None then the plot is a column, bar, pie, line, or area chart with counts, possibly colored.
If X column type is date/datetime
If Y column is None then the plot is a column, bar, pie, line, or area chart, with counts, possibly colored.
If Y column is numeric then the plot is a vertical boxplot, possibly colored.
If Y column is categorical then the plot is a heatmap.
If X column type is neither numeric nor categorical nor date/datetime then an error is raised.
Scatter plot
Horizontal boxplot
Vertical boxplot
Bar chart
Heatmap
Pie chart
Line chart
Area chart
Bar chart
Stacked bar chart
Column types
The metadata columns will be categorized based on these criteria:
Possible column types:
Numeric
According to these criteria:
The column can be converted into float
The column has at least 3 unique values
The column has at least 10% of the rows with a value that is not null
Categorical
According to these criteria:
The column can be converted into string
The column has less than 20 unique values
The column has at least 2 unique values
The column has at least 10% of the rows with a value that is not null
The column is not a numeric
Date/Datetime
According to these criteria:
Dates and datetimes should have the following format: YYYY./-MM./-DD and DD./-MM./-YYYY HH:MM:SS