% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lexical_analysis.R
\name{plot_readability_distribution}
\alias{plot_readability_distribution}
\title{Plot Readability Distribution}
\usage{
plot_readability_distribution(readability_data, metric, title = NULL)
}
\arguments{
\item{readability_data}{Data frame from calculate_text_readability()}

\item{metric}{Metric to plot (e.g., "flesch", "flesch_kincaid", "gunning_fog")}

\item{title}{Plot title (default: auto-generated)}
}
\value{
A plotly boxplot
}
\description{
Creates a boxplot showing the overall distribution of a readability metric.
}
\examples{
\donttest{
data(SpecialEduTech, package = "TextAnalysisR")
texts <- SpecialEduTech$abstract[1:20]
readability <- calculate_text_readability(texts)
plot <- plot_readability_distribution(readability, "flesch")
print(plot)
}
}
\concept{lexical}
