% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lexical_analysis.R
\name{plot_top_readability_documents}
\alias{plot_top_readability_documents}
\title{Plot Top Documents by Readability}
\usage{
plot_top_readability_documents(
  readability_data,
  metric,
  top_n = 15,
  order = "highest",
  title = NULL
)
}
\arguments{
\item{readability_data}{Data frame from calculate_text_readability()}

\item{metric}{Metric to plot}

\item{top_n}{Number of documents to show (default: 15)}

\item{order}{Direction: "highest" or "lowest" (default: "highest")}

\item{title}{Plot title (default: auto-generated)}
}
\value{
A plotly bar chart
}
\description{
Creates a bar plot of documents ranked by readability metric.
}
\concept{lexical}
