% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_transformation.R
\name{yt_quick_plot}
\alias{yt_quick_plot}
\title{Create a quick visualization of the data (if ggplot2 is available)}
\usage{
yt_quick_plot(api_response, x_col = NULL, y_col = NULL, chart_type = "auto")
}
\arguments{
\item{api_response}{API response from YouTube Analytics}

\item{x_col}{Column name for x-axis (auto-detected if NULL)}

\item{y_col}{Column name for y-axis (auto-detected if NULL)}

\item{chart_type}{Type of chart: "line", "bar", "point" (default: auto)}
}
\value{
ggplot object or base R plot if ggplot2 not available
}
\description{
Create a quick visualization of the data (if ggplot2 is available)
}
\examples{
\dontrun{
# Daily views over time
daily_report <- get_daily_performance("last_30_days")
yt_quick_plot(daily_report)

# Top videos by views
top_videos <- get_top_videos("last_7_days")
yt_quick_plot(top_videos, chart_type = "bar")
}
}
