plot_line
Generates line charts for time-series and trend analysis. Overlays multiple y columns, supports hue grouping, and optional file save. Sort x-axis data first for meaningful results.
Instructions
Line plot. Supports multiple y columns overlaid. Essential for time-series and trends. For time-series data and trends. Sort data by x-axis column first for meaningful results. Supports multiple y columns overlaid. Example: plot_line(x="date", y="Revenue") Example: plot_line(x="month", y=["Revenue", "Cost"], hue="Category")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| hue | No | ||
| df_name | No | ||
| save_path | No |