CodeLin: An in situ visualization method for understanding data transformation scripts

IF 3.8 3区 计算机科学 Q2 COMPUTER SCIENCE, INFORMATION SYSTEMS Visual Informatics Pub Date : 2025-03-19 DOI:10.1016/j.visinf.2025.03.002
Xiwen Cai , Kai Xiong , Zhongsu Luo , Di Weng , Shuainan Ye , Yingcai Wu
{"title":"CodeLin: An in situ visualization method for understanding data transformation scripts","authors":"Xiwen Cai ,&nbsp;Kai Xiong ,&nbsp;Zhongsu Luo ,&nbsp;Di Weng ,&nbsp;Shuainan Ye ,&nbsp;Yingcai Wu","doi":"10.1016/j.visinf.2025.03.002","DOIUrl":null,"url":null,"abstract":"<div><div>Understanding data transformation scripts is an essential task for data analysts who write code to process data. However, this can be challenging, especially when encountering unfamiliar scripts. Comments can help users understand data transformation code, but well-written comments are not always present. Visualization methods have been proposed to help analysts understand data transformations, but they generally require a separate view, which may distract users and entail efforts for connecting visualizations and code. In this work, we explore the use of in situ program visualization to help data analysts understand data transformation scripts. We present CodeLin, a new visualization method that combines word-sized glyphs for presenting transformation semantics and a lineage graph for presenting data lineage in an in situ manner. Through a use case, code pattern demonstrations, and a preliminary user study, we demonstrate the effectiveness and usability of CodeLin. We further discuss how visualization can help users understand data transformation code.</div></div>","PeriodicalId":36903,"journal":{"name":"Visual Informatics","volume":"9 2","pages":"Article 100233"},"PeriodicalIF":3.8000,"publicationDate":"2025-03-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Visual Informatics","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2468502X25000087","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0

Abstract

Understanding data transformation scripts is an essential task for data analysts who write code to process data. However, this can be challenging, especially when encountering unfamiliar scripts. Comments can help users understand data transformation code, but well-written comments are not always present. Visualization methods have been proposed to help analysts understand data transformations, but they generally require a separate view, which may distract users and entail efforts for connecting visualizations and code. In this work, we explore the use of in situ program visualization to help data analysts understand data transformation scripts. We present CodeLin, a new visualization method that combines word-sized glyphs for presenting transformation semantics and a lineage graph for presenting data lineage in an in situ manner. Through a use case, code pattern demonstrations, and a preliminary user study, we demonstrate the effectiveness and usability of CodeLin. We further discuss how visualization can help users understand data transformation code.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
CodeLin:一种用于理解数据转换脚本的现场可视化方法
理解数据转换脚本是编写代码来处理数据的数据分析师的基本任务。然而,这可能具有挑战性,特别是在遇到不熟悉的脚本时。注释可以帮助用户理解数据转换代码,但是编写良好的注释并不总是存在。已经提出可视化方法来帮助分析人员理解数据转换,但是它们通常需要一个单独的视图,这可能会分散用户的注意力,并且需要将可视化和代码连接起来。在这项工作中,我们探索了原位程序可视化的使用,以帮助数据分析师理解数据转换脚本。我们提出了CodeLin,这是一种新的可视化方法,它结合了字大小的符号来表示转换语义,并结合了一个谱系图来以原位方式表示数据谱系。通过用例、代码模式演示和初步的用户研究,我们演示了CodeLin的有效性和可用性。我们将进一步讨论可视化如何帮助用户理解数据转换代码。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Visual Informatics
Visual Informatics Computer Science-Computer Graphics and Computer-Aided Design
CiteScore
6.70
自引率
3.30%
发文量
33
审稿时长
79 days
期刊最新文献
A methodological approach towards human-centered visual analytics Unified 3D Gaussian splatting for motion and defocus blur reconstruction A survey of visual insight mining: Connecting data and insights via visualization Attribute guided adversarial editing for face privacy protection From perception to reflection: A layered framework for aesthetic education in the digital design of ancient painting
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1