[Chart Extraction] Incomplete data extraction from Scatter Charts in PPTX
Description
Docling recognizes Scatter Charts but does not correctly extract their underlying data points.
During testing, the chart was classified as Scatter chart. However, the extracted output contains incomplete data and does not preserve the relationship between individual X and Y coordinates.
Reproduction
Input file: scatter-plot.pptx
Chart title: Circles with better network availability lose fewer customers
Chart description: Network Availability vs Monthly Churn by Circle, FY 2025–26.
The chart contains:
- X-axis: Network availability (%).
- Y-axis: Average monthly churn (%).
- Series 1: Metro and Category A circles.
- Series 2: Category B and C circles.
Actual behavior
- The chart is correctly classified as a Scatter Chart.
- The extracted output contains some numerical values, but the original X-Y coordinate relationships are not preserved.
- The extracted values appear in a table without the corresponding coordinate information.
- Individual data points cannot be reliably mapped back to their respective series.
Expected behavior
Docling should:
- Extract all individual scatter plot data points.
- Preserve the X and Y coordinates for every point.
- Maintain the association between each data point and its corresponding series.
- Preserve the series names, axis labels and chart title.
Impact
The extracted data is incomplete and cannot be used to reconstruct the original scatter plot or perform meaningful analysis.
Extracted Text
CUSTOMERS | SCATTER CHART
# Circles with better network availability lose fewer customers
Network Availability vs Monthly Churn by Circle, FY 2025–26
<!-- image -->
Scatter chart
| | Metro and Category A circles | Category B and C circles |
| ---- | -------------------------------- | ---------------------------- |
| | 1.21 | 1.74 |
| | 1.34 | 1.92 |
| | 1.42 | 2.08 |
| | 1.38 | 2.21 |
| | 1.55 | 2.43 |
| | 1.61 | 2.57 |
Every 0.1 point of availability matters
- Circles above 99.6% availability kept churn below 1.6% a month.
- Network investment in the lowest circles is planned for FY 2026–27.
10
Hi @satyam-mavs, thanks for the detailed report and the reproduction file!
I would like to take this on. The chart is classified correctly as a scatter chart, but the X–Y coordinate pairs are dropped when the chart data is reconstructed into a table — only the Y values survive, so the points cannot be mapped back to their series. I will work on preserving the X values alongside the Y values and add a regression test.
The fix is ready for review: https://github.com/docling-project/docling/pull/5370
It reads the X values from each series' c:xVal cache, so every point keeps its X–Y pairing. In your file the two series plot over different X values, so each series keeps its own "<name> (X)" column next to its Y column, and the X axis title ("Network availability (%)") heads the shared X column. Thank you again for the clear report and the reproduction file!
Hi @Kylinny. Thanks for the quick response and for looking into this! Really appreciate you taking it up and working on a fix.
Classification labels added: priority:medium, pptx.
These labels are advisory. Maintainers can correct them. The workflow preserves these corrections.