Library Statistics
Books {{ totalBooks$ | async }}
Authors {{ totalAuthors$ | async }}
Series {{ totalSeries$ | async }}
Publishers {{ totalPublishers$ | async }}
Library Size {{ totalSize$ | async }}
@if (showConfigPanel) {

### Chart Configuration

#### Small Charts

@for (chart of getChartsByCategory('small'); track chart.id) {
{{ chart.name }}
}

#### Medium Charts

@for (chart of getChartsByCategory('medium'); track chart.id) {
{{ chart.name }}
}

#### Large Charts

@for (chart of getChartsByCategory('large'); track chart.id) {
{{ chart.name }}
}

#### Full Width Charts

@for (chart of getChartsByCategory('full-width'); track chart.id) {
{{ chart.name }}
}
} @if (!isLoading && hasData) {
@for (chartConfig of getEnabledChartsSorted(); track chartConfig.id) {
@switch (chartConfig.id) { @case ('readingStatus') {

### Reading Status

} @case ('bookFormats') {

### Book Formats

} @case ('languageDistribution') {

### Language Distribution

} @case ('bookMetadataScore') {

### Book Metadata Score

} @case ('topAuthors') {

### Top 25 Authors (with Reading Breakdown)

} @case ('topCategories') {

### Top 25 Categories (with Reading Breakdown)

} @case ('topBooksBySize') {

### Top 20 Largest Books by File Size

} @case ('monthlyReadingPatterns') {

### Monthly Reading Patterns

} @case ('readingProgress') {

### Reading Progress

} @case ('externalRating') {

### External Rating Distribution

} @case ('personalRating') {

### Personal Rating Distribution

} @case ('pageCount') {

### Page Count Distribution

} @case ('readingVelocityTimeline') {

### Reading Velocity Timeline

} @case ('topSeries') {

### Top 20 Series by Book Count

} @case ('publicationYear') {

### Publication Year Timeline

} @case ('readingDNA') {

### Your Reading DNA Profile

Discover your unique reading personality based on behavioral patterns and preferences
@if ((readingDNAChartService.readingDNAChartData$ | async)?.datasets?.[0]?.data?.length) {
@for (insight of readingDNAChartService.getPersonalityInsights(); track trackByTrait($index, insight)) {
{{ insight.trait }} {{ insight.score.toFixed(0) }}%

{{ insight.description }}

}
}
} @case ('readingHabits') {

### Reading Habits Analysis

Analyze your behavioral reading patterns, routines, and systematic approaches
@if ((readingHabitsChartService.readingHabitsChartData$ | async)?.datasets?.[0]?.data?.length) {
@for (habit of readingHabitsChartService.getHabitInsights(); track trackByHabit($index, habit)) {
{{ habit.habit }} {{ habit.score.toFixed(0) }}%

{{ habit.description }}

}
}
} @case ('readingHeatmap') {

### Books Finished per Month

} }
}
} @if (isLoading) {
Loading statistics...
} @if (!isLoading && !hasData) {
No data available. Make sure your library contains books with metadata.
}