[go: up one dir, main page]

CN118133788A - A table-based visual construction process generation method and system - Google Patents

A table-based visual construction process generation method and system Download PDF

Info

Publication number
CN118133788A
CN118133788A CN202311654093.5A CN202311654093A CN118133788A CN 118133788 A CN118133788 A CN 118133788A CN 202311654093 A CN202311654093 A CN 202311654093A CN 118133788 A CN118133788 A CN 118133788A
Authority
CN
China
Prior art keywords
data
visualization
user
mapping
attribute
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311654093.5A
Other languages
Chinese (zh)
Inventor
袁晓如
蒋瑞珂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Peking University
Original Assignee
Peking University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Peking University filed Critical Peking University
Priority to CN202311654093.5A priority Critical patent/CN118133788A/en
Priority to PCT/CN2023/138009 priority patent/WO2025118315A1/en
Publication of CN118133788A publication Critical patent/CN118133788A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention relates to a method and a system for generating a visual construction process based on a table, which correspond visual graphic elements with units of the table according to visual definitions input by a user, determine parts needing to be mapped by the table units and perform visual mapping of the table one by one according to attribute values and graphic elements needing to be mapped; recursively grouping the data items according to the data attributes; arranging corresponding primitives of the data items in each data group according to an attribute alignment mode and a data item ordering mode defined by a user; according to a user-defined data aggregation mode, data aggregation is carried out on data items in the data group, and numerical attribute value mapping is carried out on the data items in the data group; and generating animation according to the operation sequence. By adopting the method disclosed by the invention, for different visualizations, the intermediate steps of operating and dynamically transforming from the table are automatically calculated according to the final visualization form, so that the user can be helped to understand the visualization mapping and data transforming processes.

Description

一种基于表格的可视化构建过程生成方法及系统A table-based visual construction process generation method and system

技术领域Technical Field

本发明属于可视化领域,具体涉及一种基于表格的可视化构建过程生成方法及系统。The present invention belongs to the field of visualization, and in particular relates to a table-based visualization construction process generation method and system.

背景技术Background technique

在数据无处不在的今天,可视化的普及帮助数据分析者快速挖掘数据中隐藏的模式。然而,随着可视化技术的不断发展,可视化的形式和交互越来越复杂,而多视图的可视化给可视化的理解增加了难度,可视化的初学者面临陡峭的学习曲线。此外,很多需要处理数据的用户,由于对可视化和可视分析工具的不了解,而选择使用表格工具来进行数据的分析和意义构建。In today's world where data is everywhere, the popularity of visualization helps data analysts quickly discover hidden patterns in data. However, with the continuous development of visualization technology, the form and interaction of visualization are becoming more and more complex, and multi-view visualization makes it more difficult to understand visualization. Visualization beginners face a steep learning curve. In addition, many users who need to process data choose to use spreadsheet tools to analyze and construct meaning of data due to their lack of understanding of visualization and visual analysis tools.

现有的一些辅助可视化理解的工作,主要关注于使用简单可视化帮助理解与其形式存在关联的更复杂可视化。这类工作没有提供统一的框架,针对不同可视化,需要进行单独设计。其他工作以可视化动画的形式帮助用户明白数据转换的过程,但是仅针对简单统计图表,没有涉及对复杂可视化映射方式的理解,导致无法针对原始数据进行数据转换和可视映射以生成最终可视化的过程采用表格方式进行展示,给复杂可视化理解造成障碍。Some existing work on assisting visualization understanding focuses on using simple visualizations to help understand more complex visualizations that are related to their form. This type of work does not provide a unified framework, and different visualizations need to be designed separately. Other work uses visualization animations to help users understand the process of data conversion, but only for simple statistical charts, without involving the understanding of complex visualization mapping methods, resulting in the inability to perform data conversion and visual mapping on the original data to generate the final visualization process in a table format, which creates obstacles to the understanding of complex visualizations.

发明内容Summary of the invention

针对现有技术中存在的缺陷,本发明的目的在于提供一种基于表格的可视化构建过程生成方法及系统,针对特定类型的可视化,可以针对从原始数据进行数据转换和可视映射以生成最终可视化的过程自动进行展示,帮助用户理解可视化流程和映射方式。In view of the defects existing in the prior art, the purpose of the present invention is to provide a table-based visualization construction process generation method and system, which can automatically display the process of data conversion and visual mapping from raw data to generate the final visualization for specific types of visualization, so as to help users understand the visualization process and mapping method.

为达到以上目的,本发明采用的技术方案是:In order to achieve the above purpose, the technical solution adopted by the present invention is:

第一方面,一种基于表格的可视化构建过程生成方法,所述方法包括以下步骤:In a first aspect, a table-based visual construction process generation method is provided, the method comprising the following steps:

S1、根据用户输入的可视化定义,将可视化的图元与表格的单元进行对应,确定需要进行表格单元映射的部分,根据需要映射的属性值和图元,逐一进行表格可视化映射;S1. According to the visualization definition input by the user, the visualized primitives are matched with the cells of the table, the parts that need to be mapped to the table cells are determined, and the table visualization mapping is performed one by one according to the attribute values and primitives that need to be mapped;

S2、根据用户输入的可视化定义确定的排列方式,对数据项进行递归分组,形成多个数据组;S2, recursively grouping the data items according to the arrangement determined by the visualization definition input by the user to form multiple data groups;

S3、每个数据组内部根据用户定义的属性对齐方式和数据项排序方式进行数据项对应图元的排列,并将对应数据项排列至未排序数据项的最前端,标记为已排序,排序过程通过数据项移动的动画进行展示;S3, within each data group, the corresponding graphics elements of the data items are arranged according to the attribute alignment method and data item sorting method defined by the user, and the corresponding data items are arranged to the front of the unsorted data items, marked as sorted, and the sorting process is displayed through the animation of the data item movement;

S4、根据用户定义的可视化,确定数据聚合方式,对数据组内部的数据项进行数据聚合,对数据组内部的数据项进行数值型属性值映射;S4. Determine the data aggregation method according to the visualization defined by the user, aggregate the data items within the data group, and map the numerical attribute values of the data items within the data group;

S5、根据步骤S1-S4中的操作序列生成动画以对可视化构建过程进行展示。S5. Generate an animation according to the operation sequence in steps S1-S4 to demonstrate the visualization construction process.

进一步,步骤S1中所述用户输入的可视化定义包括用户上传的数据、选择的可视化类型和指定的映射不同视觉通道的数据属性。Furthermore, the visualization definition input by the user in step S1 includes the data uploaded by the user, the selected visualization type, and the specified data attributes mapping different visual channels.

进一步,根据可视化定义中的可视化类型解析出可视化生成过程中的操作包括映射操作、布局操作以及数据变换操作。Furthermore, according to the visualization type in the visualization definition, it is analyzed that the operations in the visualization generation process include mapping operations, layout operations, and data transformation operations.

进一步,步骤S2中根据数据属性对数据项进行分组。Furthermore, in step S2, the data items are grouped according to data attributes.

进一步,步骤S2中对数据项进行分组包括以下子步骤:Further, grouping the data items in step S2 includes the following sub-steps:

S21、根据数据属性,在已有可视化的内部进行排序和属性合并;S21. Sort and merge attributes within existing visualizations based on data attributes;

S22、根据数据属性映射的坐标轴水平或垂直,决定不同数据组的移动方向。S22. Determine the moving direction of different data groups according to whether the coordinate axis of the data attribute mapping is horizontal or vertical.

进一步,步骤S3中通过分解数据项的排序方式和数据属性的对齐方式,在每个数据组内部对数据项对应的图元进行排序和对数据属性进行对齐,以此来定义数据组内的可视化形式。Furthermore, in step S3, by decomposing the ordering method of data items and the alignment method of data attributes, the graphic elements corresponding to the data items are ordered and the data attributes are aligned within each data group, so as to define the visualization form within the data group.

进一步,步骤S4包括计算每个数据组内的聚合值大小,根据所有数据组的聚合值范围、组数和屏幕像素确定属性值与显示大小的映射关系;并根据聚合值重新计算数据项的位置和大小,并通过动态变化和移动的方式对重新计算的数据项进行显示。Further, step S4 includes calculating the size of the aggregate value within each data group, determining the mapping relationship between the attribute value and the display size according to the aggregate value range, the number of groups and the screen pixels of all data groups; and recalculating the position and size of the data item according to the aggregate value, and displaying the recalculated data item through dynamic change and movement.

进一步,步骤S4包括根据定义的属性对齐方式调整不同表格单元的大小;根据可视化定义规定的映射编码表格单元的不同通道;将数据组排列成矩阵,每行/列数据组的最终大小由该行/列数据组的最大行数/最大列数决定。Further, step S4 includes adjusting the sizes of different table cells according to the defined attribute alignment; encoding different channels of the table cells according to the mapping specified by the visualization definition; arranging the data groups into a matrix, and the final size of each row/column data group is determined by the maximum number of rows/columns of the row/column data group.

进一步,步骤S5中生成的动画包括上传数据的视图、展示属性类别数或数值分布的视图、可视化选择视图、动画路径视图、动画主视图和操作自定义视图。Furthermore, the animation generated in step S5 includes a view for uploading data, a view for displaying the number of attribute categories or the distribution of values, a visualization selection view, an animation path view, an animation main view, and an operation customization view.

第二方面,一种基于表格的可视化构建过程生成系统,采用如本发明第一方面及其任一可选实施方式所述的一种基于表格的可视化构建过程生成方法,根据用户上传的数据、选择的可视化类型和指定的映射不同视觉通道的数据属性,自动生成辅助用户理解可视化构建过程的动画。In a second aspect, a table-based visualization construction process generation system adopts a table-based visualization construction process generation method as described in the first aspect of the present invention and any optional embodiment thereof, and automatically generates an animation to assist users in understanding the visualization construction process according to the data uploaded by the user, the selected visualization type, and the specified data attributes mapping different visual channels.

本发明的有益技术效果在于:采用本发明所公开的一种基于表格的可视化构建过程生成方法及系统,用于辅助用户理解可视化生成过程,根据用户输入的数据、选择的可视化类型和指定的映射不同视觉通道的数据属性,自动生成可视化构建过程的的动画,动画基于表格对可视化构建过程进行展示,利用用户对于表格的熟悉,帮助用户理解数据变换和可视化映射,从而理解复杂形式的可视化。The beneficial technical effect of the present invention is that a table-based visualization construction process generation method and system disclosed in the present invention are used to assist users in understanding the visualization generation process, and an animation of the visualization construction process is automatically generated according to the data input by the user, the selected visualization type and the specified data attributes of mapping different visual channels. The animation displays the visualization construction process based on the table, and uses the user's familiarity with the table to help the user understand data transformation and visualization mapping, thereby understanding complex forms of visualization.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本发明实施例一中公开的一种基于表格的可视化构建过程生成方法流程图;FIG1 is a flow chart of a table-based visualization construction process generation method disclosed in Embodiment 1 of the present invention;

图2为采用本发明实施例二中公开的一种基于表格的可视化构建过程生成系统生成展示可视化构建过程的动画。FIG. 2 is an animation showing a visualized construction process generated by a table-based visualized construction process generation system disclosed in Embodiment 2 of the present invention.

具体实施方式Detailed ways

下面结合附图和具体实施方式对本发明作进一步描述。The present invention is further described below in conjunction with the accompanying drawings and specific embodiments.

实施例一Embodiment 1

如图1所示,本发明实施例提供一种基于表格的可视化构建过程生成方法,所述方法包括以下步骤:As shown in FIG1 , an embodiment of the present invention provides a table-based visualization construction process generation method, the method comprising the following steps:

S1、根据用户输入的可视化定义,将可视化的图元与表格的单元进行对应,确定需要进行表格单元映射的部分,根据需要映射的属性值和图元,逐一进行表格可视化映射。S1. According to the visualization definition input by the user, the visualized graphics elements are matched with the cells of the table, the parts that need to be mapped to the table cells are determined, and the table visualization mapping is performed one by one according to the attribute values and graphics elements that need to be mapped.

用户输入的可视化定义包括用户上传的数据、选择的可视化类型和指定的映射不同视觉通道的数据属性。The visualization definition entered by the user includes the data uploaded by the user, the selected visualization type, and the specified data attributes that map to different visual channels.

基于表格的可视化将每个数据项视为一个复杂图元,包含一个图元列和多个属性列,每一列均可进行映射。初始状态下的表格,视为图元列为空,属性列使用文本通道映射原始数据的特殊可视化。对于单元映射部分,首先在对应属性列上进行映射,随后在图元列中进行映射,并隐藏属性列。Table-based visualization treats each data item as a complex primitive, consisting of a primitive column and multiple attribute columns, each of which can be mapped. The table in the initial state is considered a special visualization in which the primitive column is empty and the attribute column uses a text channel to map the original data. For the cell mapping part, mapping is first performed on the corresponding attribute column, followed by mapping in the primitive column, and the attribute column is hidden.

用户输入的可视化定义中的可视化类型可以解析出可视化生成过程中的操作包括的映射操作、布局操作以及数据变换操作。其中映射操作即将属性映射于表格单元或单元组的颜色、边框、大小或内嵌图元的形式。布局操作即调换不同数据项的位置,包括排序和改变数据分组的布局的操作,包括分组、水平分布等。数据变换操作即数据聚合操作,包括计数,求和,求平均等,和属性变换操作,包括分箱,归一化等。The visualization type in the visualization definition input by the user can be parsed to identify the operations in the visualization generation process, including mapping operations, layout operations, and data transformation operations. The mapping operation is to map the attributes to the color, border, size, or embedded graphics of the table cell or cell group. The layout operation is to swap the positions of different data items, including sorting and changing the layout of data groups, including grouping, horizontal distribution, etc. The data transformation operation is the data aggregation operation, including counting, summing, averaging, etc., and the attribute transformation operation, including binning, normalization, etc.

S2、根据用户输入的可视化定义确定的排列方式,对数据项进行递归分组,形成多个数据组。S2. Recursively group the data items according to the arrangement determined by the visualization definition input by the user to form multiple data groups.

通常根据不同属性值对数据项进行分组,例如,对于柱状图,用于定义水平方向坐标轴的属性,被用于对数据项进行分组,形成多个数据组。分组时,首先根据该属性值,在已有可视化的内部进行排序和属性的合并,然后根据该属性映射的坐标轴水平或垂直,决定不同数据组的移动方向。Data items are usually grouped according to different attribute values. For example, for a bar chart, the attribute used to define the horizontal axis is used to group data items to form multiple data groups. When grouping, first sort and merge the attributes within the existing visualization according to the attribute value, and then determine the movement direction of different data groups according to the horizontal or vertical axis mapped by the attribute.

S3、每个数据组内部根据用户定义的属性对齐方式和数据项排序方式进行数据项对应图元的排列,并将对应数据项排列至未排序数据项的最前端,标记为已排序,排序过程通过数据项移动的动画进行展示。S3. Arrange the corresponding graphics elements of the data items within each data group according to the user-defined attribute alignment and data item sorting method, and arrange the corresponding data items to the front of the unsorted data items and mark them as sorted. The sorting process is displayed through the animation of the data item movement.

根据用户输入的可视化定义中确定的不同可视化类型,数据组内部的数据项排列方式不同,根据用户输入的可视化类型,确定数据组内部的数据项的排序方式和数据属性对齐方式,通过分解数据项的排序方式和数据属性的对齐方式,在每个数据组内部对数据项对应的图元进行排序和对数据属性进行对齐,以此来定义数据组内的可视化形式。According to different visualization types determined in the visualization definition input by the user, the arrangement of data items within the data group is different. According to the visualization type input by the user, the sorting method of data items and the alignment method of data attributes within the data group are determined. By decomposing the sorting method of data items and the alignment method of data attributes, the graphics elements corresponding to the data items are sorted and the data attributes are aligned within each data group, so as to define the visualization form within the data group.

数据组中的数据集包括数据列表和矩阵两种形式,其中(1)数据列表包含多个数据项,每个数据项具有类别型属性、序数型属性以及数值型属性;(2)矩阵包含两个类别型属性,以及一个对应类别型属性值的数值型属性。The data sets in the data group include two forms: data list and matrix, where (1) the data list contains multiple data items, each of which has a categorical attribute, an ordinal attribute, and a numerical attribute; (2) the matrix contains two categorical attributes and a numerical attribute corresponding to the categorical attribute value.

例如,对于柱状图,仅显示单一图元列,数据项按照原始数据顺序排列,并向底部对齐。对于树形可视化,数据项按照树型数据的深度优先遍历顺序排列,而属性则根据节点的深度对齐。在具体计算中,这样的排列和对齐方式对应于主词寻找节点的所有子节点插入已排序数据项数组中,并根据父子节点的属性进行对齐。For example, for a bar chart, only a single column is displayed, and the data items are arranged in the original data order and aligned to the bottom. For a tree visualization, the data items are arranged in the depth-first traversal order of the tree data, and the attributes are aligned according to the depth of the node. In the specific calculation, such an arrangement and alignment corresponds to inserting all the child nodes of the main word search node into the sorted data item array and aligning them according to the attributes of the parent and child nodes.

对于矩阵可视化,数据项根据其中一个属性的值排序,相同值的数据项排列在同一行。另一属性则根据属性值进行对齐。For matrix visualization, data items are sorted based on the value of one of the attributes, with data items with the same value arranged in the same row. The other attribute is aligned based on the attribute value.

S4、根据用户定义的可视化,确定数据聚合方式,对数据组内部的数据项进行数据聚合,对数据组内部的数据项进行数值型属性值映射。S4. According to the user-defined visualization, determine the data aggregation method, aggregate the data items within the data group, and map the numerical attribute values of the data items within the data group.

步骤S4包括计算每个数据组内的聚合值大小,根据所有数据组的聚合值范围、组数和屏幕像素确定属性值与显示大小的映射关系。随后,根据聚合值重新计算数据项的位置和大小,并通过动态变化和移动的方式进行显示。Step S4 includes calculating the size of the aggregate value in each data group, determining the mapping relationship between the attribute value and the display size according to the aggregate value range, the number of groups and the screen pixels of all data groups, and then recalculating the position and size of the data item according to the aggregate value, and displaying it in a dynamic change and movement manner.

根据定义的属性对齐方式调整不同表格单元的大小;根据映射的定义编码表格单元的不同通道;将数据组排列成矩阵,每行/列数据组的最终大小由该行/列数据组的最大行数/最大列数决定。The sizes of different table cells are adjusted according to the defined attribute alignment; different channels of the table cells are encoded according to the definition of the mapping; the data groups are arranged into a matrix, and the final size of each row/column data group is determined by the maximum number of rows/columns of the row/column data group.

S5、根据步骤S1-S4中的操作序列生成动画以对可视化构建过程进行展示。S5. Generate an animation according to the operation sequence in steps S1-S4 to demonstrate the visualization construction process.

生成的动画包括上传数据的视图、展示属性类别数或数值分布的视图、可视化选择视图、动画路径视图、动画主视图和操作自定义视图。The generated animations include views for uploading data, views for displaying the number of attribute categories or the distribution of values, views for visual selection, views for animation paths, main animation views, and views for custom operations.

实施例二Embodiment 2

本发明实施例提供一种基于表格的可视化构建过程生成系统,所述系统采用如本发明实施例一及其任一可选实施方式所述的一种基于表格的可视化构建过程生成方法,根据用户上传的数据和选择的可视化类型和指定的映射不同视觉通道的数据属性,自动生成辅助用户理解可视化构建过程的动画。An embodiment of the present invention provides a table-based visualization construction process generation system, which adopts a table-based visualization construction process generation method as described in Example 1 of the present invention and any optional implementation manner thereof, and automatically generates an animation to assist users in understanding the visualization construction process based on data uploaded by users, a selected visualization type, and specified data attributes that map different visual channels.

如图2所示,采用本发明实施方式公开的一种基于表格的可视化构建过程生成系统生成展示可视化构建过程的动画,其中图(1)-(4)为展示映射操作可视化构建过程的动画,图(5)-(7)为展示布局操作可视化构建过程的动画,图(8)-(9)为展示数据变换操作可视化构建过程的动画。As shown in FIG2 , a table-based visualization construction process generation system disclosed in an embodiment of the present invention is used to generate an animation showing the visualization construction process, wherein FIGS. (1)-(4) are animations showing the visualization construction process of mapping operations, FIGS. (5)-(7) are animations showing the visualization construction process of layout operations, and FIGS. (8)-(9) are animations showing the visualization construction process of data transformation operations.

具体地图(1)为展示颜色映射操作可视化构建过程的动画:设置单元格的背景颜色,并使得单元格背景随时间从透明变化为不透明。The specific map (1) is an animation showing the visual construction process of the color mapping operation: setting the background color of the cell and making the cell background change from transparent to opaque over time.

图(2)为展示长度映射操作可视化构建过程的动画:使得单元格宽度或高度随时间从原始长度变化为映射数据后的长度。Figure (2) is an animation showing the visual construction process of the length mapping operation: the cell width or height changes from the original length to the length after mapping the data over time.

图(3)为展示面积映射操作可视化构建过程的动画:在单元格中嵌入图元,并使该图元的面积随时间从0变化为映射数据后的面积大小。Figure (3) is an animation showing the visualization construction process of the area mapping operation: embedding a primitive in a cell and making the area of the primitive change from 0 to the area size after mapping the data over time.

图(4)为展示位置映射操作可视化构建过程的动画:在单元格左侧嵌入图元,并随时间移动该图元至映射数据后的位置。Figure (4) is an animation showing the visual construction process of the position mapping operation: embedding a primitive on the left side of the cell and moving the primitive to the position after mapping the data over time.

图(5)为展示布局操作可视化构建过程的动画:移动分组的数据项,使得它们按照水平方向排列。Figure (5) is an animation showing the visual construction process of the layout operation: moving the grouped data items so that they are arranged horizontally.

图(6)为展示成组操作可视化构建过程的动画:将同一组中数据项的指定属性列进行合并,在此过程中,原始的单元格由不透明度变化为透明,而合并后的单元格随时间由透明变为不透明。Figure (6) is an animation showing the visualization process of group operations: the specified attribute columns of data items in the same group are merged. During this process, the original cells change from opaque to transparent, while the merged cells change from transparent to opaque over time.

图(7)为展示旋转操作可视化构建过程的动画:将整个视图围绕指定中心点旋转90度。Figure (7) is an animation showing the visual construction process of the rotation operation: rotating the entire view 90 degrees around the specified center point.

图(8)为展示求和操作的展示动画:移动每组内的数据项图元,使其水平或垂直堆叠,随后移动每一组的图元使相邻组的图元紧密排列。Figure (8) is an animation showing the sum operation: move the data item elements in each group so that they are stacked horizontally or vertically, and then move the elements in each group so that the elements in adjacent groups are closely arranged.

图(9)为展示求平均操作可视化构建过程的动画:使得每组内的图元长度随时间变化为平均值对应的长度,随后将每组内的图元移动至该组最上面的图元进行重叠。Figure (9) is an animation showing the visualization process of the averaging operation: the length of the primitives in each group is changed to the length corresponding to the average value over time, and then the primitives in each group are moved to the top primitive of the group to overlap.

通过上述实施例可以看出,本发明公开的一种基于表格的可视化构建过程生成方法及系统,能够根据用户输入的数据和可视化类型,通过对原始数据项进行递归分组、数据组内部图元进行排列和根据原始数据表格对图元进行映射,自动生成从表格动态变换成可视化的动画。基于用户熟悉的表格进行可视化构建过程表示,针对不同可视化,均采用统一表格形式和步骤自动生成可视化构建过程的的动画。It can be seen from the above embodiments that the table-based visualization construction process generation method and system disclosed in the present invention can automatically generate an animation that is dynamically transformed from a table to a visualization by recursively grouping the original data items, arranging the graphics elements within the data group, and mapping the graphics elements according to the original data table according to the data input by the user and the visualization type. The visualization construction process is represented based on the table familiar to the user, and for different visualizations, a unified table form and steps are used to automatically generate the animation of the visualization construction process.

本发明所述的方法及系统并不限于具体实施方式中所述的实施例,本领域技术人员根据本发明的技术方案得出其他的实施方式,同样属于本发明的技术创新范围。The method and system described in the present invention are not limited to the embodiments described in the specific implementation manner. Those skilled in the art may derive other implementation manners based on the technical solution of the present invention, which also fall within the technical innovation scope of the present invention.

Claims (10)

1. A method for generating a table-based visualization building process, the method comprising the steps of:
s1, according to visual definition input by a user, corresponding visual graphic elements with units of a table, determining a part to be mapped by the table units, and carrying out table visual mapping one by one according to attribute values and graphic elements to be mapped;
S2, recursively grouping the data items according to the arrangement mode determined by the visual definition input by the user to form a plurality of data groups;
S3, arranging corresponding graphic primitives of the data items in each data group according to an attribute alignment mode and a data item ordering mode defined by a user, arranging the corresponding data items to the forefront of the unordered data items, marking the unordered data items as ordered, and displaying the ordered data items through moving animations in the data item ordering process;
S4, determining a data aggregation mode according to the visualization defined by the user, performing data aggregation on the data items in the data group, and performing numerical attribute value mapping on the data items in the data group;
s5, generating animation according to the operation sequences in the steps S1-S4 to display the visual construction process.
2. The method for generating a table-based visualization building process of claim 1, wherein: the visualization definition input by the user in step S1 includes the data uploaded by the user, the selected visualization type and the specified data attribute mapping different visual channels.
3. The method for generating a table-based visualization building process according to claim 2, wherein: the operations in the visualization generation process are parsed according to the visualization types in the visualization definition, including mapping operations, layout operations, and data transformation operations.
4. A method of generating a form-based visualization building process as defined in claim 3, wherein: in step S2, the data items are grouped according to the data attributes.
5. The method for generating a table-based visualization building process of claim 4, wherein grouping the data items in step S2 comprises the sub-steps of:
s21, sorting and attribute combination are carried out in the existing visualization according to the data attribute;
S22, determining the moving directions of different data sets according to the horizontal or vertical coordinate axes of the data attribute mapping.
6. The method for generating a table-based visualization building process of claim 5, wherein: in step S3, the data items are sorted and the data attributes are aligned in each data group by decomposing the sorting manner of the data items and the alignment manner of the data attributes, so as to define the visualization form in the data group.
7. The method for generating a table-based visualization building process of claim 6, wherein: step S4, calculating the aggregate value in each data group, and determining the mapping relation between the attribute value and the display size according to the aggregate value range, the group number and the screen pixels of all the data groups; and re-calculating the position and the size of the data item according to the aggregation value, and displaying the re-calculated data item in a dynamic change and movement mode.
8. The method for generating a table-based visualization building process of claim 7, wherein: step S4, adjusting the sizes of different table units according to the defined attribute alignment mode; defining different channels of a specified mapping coding table unit according to the visualization; the data sets are arranged in a matrix, and the final size of each row/column data set is determined by the maximum number of rows/columns of the row/column data set.
9. The method for generating a table-based visualization building process of claim 1, wherein: the animation generated in step S5 includes a view of uploading data, a view showing the attribute category number or numerical distribution, a visual selection view, an animation path view, an animation main view, and an operation custom view.
10. A visual construction process generation system based on a table is characterized in that: with a form-based visualization building process generating method according to any of claims 1-9, animations are automatically generated to assist the user in understanding the visualization building process based on the user's uploaded data, the selected visualization type and the specified data attributes mapping the different visual channels.
CN202311654093.5A 2023-12-05 2023-12-05 A table-based visual construction process generation method and system Pending CN118133788A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202311654093.5A CN118133788A (en) 2023-12-05 2023-12-05 A table-based visual construction process generation method and system
PCT/CN2023/138009 WO2025118315A1 (en) 2023-12-05 2023-12-12 Table-based method and system for generating visualization construction process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311654093.5A CN118133788A (en) 2023-12-05 2023-12-05 A table-based visual construction process generation method and system

Publications (1)

Publication Number Publication Date
CN118133788A true CN118133788A (en) 2024-06-04

Family

ID=91241162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311654093.5A Pending CN118133788A (en) 2023-12-05 2023-12-05 A table-based visual construction process generation method and system

Country Status (2)

Country Link
CN (1) CN118133788A (en)
WO (1) WO2025118315A1 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7265755B2 (en) * 2002-12-17 2007-09-04 Terastat, Inc. Method and system for dynamic visualization of multi-dimensional data
US8677235B2 (en) * 2008-05-13 2014-03-18 Microsoft Corporation Ranking visualization types based upon fitness for visualizing a data set
CN108255482B (en) * 2018-01-31 2020-11-10 浙江大学 An operation-driven incremental information visualization generation method
CN110532427B (en) * 2019-08-27 2022-05-17 新华智云科技有限公司 Visual video generation method and system based on tabular data
US11880378B2 (en) * 2021-03-31 2024-01-23 Tableau Software, LLC Data visualization analytical canvas with functionally independent visual containers
CN115391437A (en) * 2022-08-16 2022-11-25 浙江大学 A method for interactive tabular data transformation based on declarative mapping

Also Published As

Publication number Publication date
WO2025118315A1 (en) 2025-06-12

Similar Documents

Publication Publication Date Title
US8826114B2 (en) Surface-curve graphical intersection tools and primitives for data visualization, tabular data, and advanced spreadsheets
US8502823B2 (en) Method and system for lane graph visualization
CN102222124A (en) Platform and method for automatically generating design schematic diagram of automatic test system
Krawczyk Architectural interpretation of cellular automata
US20110055722A1 (en) Data Visualization Environment with DataFlow Processing, Web, Collaboration, Advanced User Interfaces, and Spreadsheet Visualization
CN109634992B (en) A report structure decomposition method, report generation method, and device
US20130091437A1 (en) Interactive data visulization utilizing hdtp touchpad hdtp touchscreens, advanced multitouch, or advanced mice
CN106227828A (en) A kind of isomorphism hierarchical data contrast visual analysis methods and applications
Vuillemot et al. Structuring visualization mock-ups at the graphical level by dividing the display space
CN111625235B (en) Construction and deconstruction method and system of tree visualization form based on descriptive language
CN118133788A (en) A table-based visual construction process generation method and system
CN113538058B (en) Multi-level user portrait visualization method oriented to online shopping platform
CN111260755A (en) Digital tie-dye pattern generation method based on deep learning and digital image processing
Wang et al. FlowVisual: Design and evaluation of a visualization tool for teaching 2D flow field concepts
Henry et al. Nodetrix: Hybrid representation for analyzing social networks
CN101908062A (en) GIS Spatial Predicate Judgment Method and System
CN1099643C (en) Font generating method and computor medium
CN108255482B (en) An operation-driven incremental information visualization generation method
CN115408584A (en) Graph structure-based data lineage link node correlation display method
McCullough et al. Dynamic data sets as collaboration in urban design
Miao Website UI design interactivity and interface visual design based on improved DFA algorithm
JPH1040358A (en) Graphic information aggregation controller
Valero-Mora et al. Visualizing categorical data in ViSta
TWI476618B (en) Generation of landmark architecture or sculpture based on chinese characters
CN103207784A (en) Construction method of multifunctional hydrological information graphical display component based on Flex

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination