% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/semantic_analysis.R
\name{plot_document_sentiment_trajectory}
\alias{plot_document_sentiment_trajectory}
\title{Plot Document Sentiment Trajectory}
\usage{
plot_document_sentiment_trajectory(
  sentiment_data,
  top_n = NULL,
  doc_ids = NULL,
  text_preview = NULL,
  title = "Document Sentiment Scores"
)
}
\arguments{
\item{sentiment_data}{Data frame from analyze_sentiment() with sentiment_score column}

\item{top_n}{Number of documents to display (default: NULL for all)}

\item{doc_ids}{Optional vector of custom document IDs for display (default: NULL)}

\item{text_preview}{Optional vector of text snippets for tooltips (default: NULL)}

\item{title}{Plot title (default: "Document Sentiment Scores")}
}
\value{
A ggplot2 line chart with color gradient
}
\description{
Creates a line chart showing sentiment scores across documents with color gradient.
}
\concept{sentiment}
