ReSpark: Leveraging Previous Data Reports as References to Generate New Reports with LLMs

Yuan Tian, Chuhan Zhang, Xiaotong Wang, Sitong Pan, Weiwei Cui, Haidong Zhang, Dazhen Deng and Yingcai Wu

Abstract

Creating data reports is a labor-intensive task involving iterative data exploration, insight extraction, and narrative construction. A key challenge lies in composing the analysis logic-from defining objectives and transforming data to identifying and communicating insights. Manually crafting this logic can be cognitively demanding. While experienced analysts often reuse scripts from past projects, finding a perfect match for a new dataset is rare. Even when similar analyses are available online, they usually share only results or visualizations, not the underlying code, making reuse difficult. To address this, we present ReSpark, a system that leverages large language models (LLMs) to reverse-engineer analysis logic from existing reports and adapt it to new datasets. By generating draft analysis steps, ReSpark provides a warm start for users. It also supports interactive refinement, allowing users to inspect intermediate outputs, insert objectives, and revise content. We evaluate ReSpark through comparative and user studies, demonstrating its effectiveness in lowering the barrier to generating data reports without relying on existing analysis code.

Venue
UIST 2025
Volume
Proceedings of the 38th Annual ACM Symposium on User Interface Software and Technology
DOI
10.1145/3746059.3747644
PDF
https://dl.acm.org/doi/pdf/10.1145/3746059.3747644
Anthology ID
2025.uist.50

Cite

@inproceedings{tian-etal-2025-respark,
    title = {{ReSpark: Leveraging Previous Data Reports as References to Generate New Reports with LLMs}},
    author = {Yuan Tian and Chuhan Zhang and Xiaotong Wang and Sitong Pan and Weiwei Cui and Haidong Zhang and Dazhen Deng and Yingcai Wu},
    booktitle = {Proceedings of the 38th Annual ACM Symposium on User Interface Software and Technology},
    isbn = {9798400720376},
    year = {2025},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3746059.3747644},
    url = {https://doi.org/10.1145/3746059.3747644},
    abstract = {Creating data reports is a labor-intensive task involving iterative data exploration, insight extraction, and narrative construction. A key challenge lies in composing the analysis logic-from defining objectives and transforming data to identifying and communicating insights. Manually crafting this logic can be cognitively demanding. While experienced analysts often reuse scripts from past projects, finding a perfect match for a new dataset is rare. Even when similar analyses are available online, they usually share only results or visualizations, not the underlying code, making reuse difficult. To address this, we present ReSpark, a system that leverages large language models (LLMs) to reverse-engineer analysis logic from existing reports and adapt it to new datasets. By generating draft analysis steps, ReSpark provides a warm start for users. It also supports interactive refinement, allowing users to inspect intermediate outputs, insert objectives, and revise content. We evaluate ReSpark through comparative and user studies, demonstrating its effectiveness in lowering the barrier to generating data reports without relying on existing analysis code.}
}