Method and apparatus for implementing data visualization and storage medium
By dynamically determining the information of graphic units and conversion lines, the static nature of funnel charts in displaying business data conversion rates is solved, enabling flexible display of data across multiple stages and enhancing the display functionality of funnel charts.
Patent Information
- Application Number
- CN202211110751.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-13
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2042-09-13
AI Technical Summary
In existing technologies, funnel charts cannot be dynamically adjusted when displaying business data conversion rates, and cannot support the display of conversion between business data at multiple stages, lacking flexibility and rich display functions.
By acquiring various business data and conversion relationships, the coordinate information and conversion line information of graphic units are dynamically determined, enabling the drawing of dynamic conversion flow diagrams. It also supports the display of relevant text on graphic units and conversion lines, thus enhancing the display function.
It enables dynamic transformation and visualization of data, supports flexible display of various business scenarios, and enhances the ability to transform and display business data between single and multi-stage processes.
Smart Images

Figure CN115454550B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computers, and in particular to a method and device for realizing data visualization, and a storage medium. Background Art
[0002] A funnel chart is a tool for visualizing data. It is called a "funnel chart" because its shape resembles a funnel.
[0003] Based on the funnel chart, the funnel conversion flow chart can display the conversion rate between the business data of the previous link and the business data of the next link.
[0004] In some related technologies, the business data of each link and the conversion rate between the business data of the previous link and the business data of the next link are statically configured, and the funnel conversion flow diagram will display the statically configured content. Summary of the Invention
[0005] Some embodiments of the present disclosure dynamically determine the corresponding conversion data for each type of business data based on the input of multiple business data and the conversion relationship between different business data, and then determine the coordinate information of each graphic unit and the information of the conversion line between different graphic units, and display the corresponding conversion flow diagram, thereby realizing a visualization solution that supports dynamic data conversion and can flexibly support the visualization display needs of various business scenarios.
[0006] In addition, other embodiments of the present disclosure not only support the conversion display between business data involving a single link, but also support the conversion display between business data involving multiple links, thereby enhancing the display function of the conversion flow diagram.
[0007] In addition, some other embodiments of the present disclosure not only support the display of business data-related copy on the graphic unit, but also support the display of business data conversion-related copy on the conversion line. In particular, it not only supports the display of business data conversion-related copy involving a single link, but also supports the display of business data conversion-related copy involving multiple links, thereby enhancing the display function of the conversion flow diagram.
[0008] Some embodiments of the present disclosure provide a method for implementing data visualization, including:
[0009] Acquiring input data, wherein the input data includes a plurality of business data and conversion relationships between different business data;
[0010] According to each type of business data, determining coordinate information of a graphic unit corresponding to each type of business data;
[0011] Determine the corresponding conversion data for each business data based on the conversion relationship between different business data;
[0012] Determining information of conversion lines between different graphic units used to represent conversion between different business data based on coordinate information of graphic units corresponding to various business data and conversion data corresponding to various business data;
[0013] According to the coordinate information of each graphic unit and the information of the transformation lines between different graphic units, a transformation flow diagram corresponding to the input data is drawn and displayed.
[0014] In some embodiments, the conversion relationship between different business data includes: a conversion relationship between any one business data and one or more other business data.
[0015] In some embodiments, the input data includes basic information of the conversion flow graph, and the basic information includes the width and height of the entire graphic unit portion;
[0016] Determining, according to each type of business data, coordinate information of a graphic unit corresponding to each type of business data includes:
[0017] Determine the data represented by a width unit according to the overall width of the graphic unit part and the maximum data of multiple business data;
[0018] Determine the height of a graphic unit according to the overall height of the graphic unit and the number of types of various business data;
[0019] Determine the horizontal coordinate of the first vertex of the graphic unit corresponding to each type of business data according to each type of business data and data represented by a width unit;
[0020] According to the position of each type of business data in the conversion flow graph and the height of a graphic unit, the vertical coordinate of the first vertex of the graphic unit corresponding to each type of business data is determined.
[0021] In some embodiments, the quotient of the maximum data of the multiple business data and the width of the entire graphic unit portion is determined as the data represented by one width unit; or,
[0022] Determine the quotient of the height of the entire graphic unit portion and the number of types of multiple business data as the height of one graphic unit; or
[0023] Determine the product of each type of business data and the data represented by one width unit as the abscissa of the first vertex of the graphic unit corresponding to each type of business data; or,
[0024] The product of the position of each type of business data in the conversion flow graph and the height of a graphic unit is determined as the vertical coordinate of the first vertex of the graphic unit corresponding to each type of business data.
[0025] In some embodiments, the basic information further includes a minimum display width of the graphic unit;
[0026] Determining, according to each type of business data, coordinate information of a graphic unit corresponding to each type of business data further includes:
[0027] According to the position of each business data in the conversion flow diagram, the first vertex of the graphic unit corresponding to the next business data is used as the second vertex of the graphic unit corresponding to the previous business data, the minimum display width of the graphic unit is used as the horizontal coordinate of the second vertex of the graphic unit corresponding to the last business data, and the height of the entire graphic unit is used as the vertical coordinate of the second vertex of the graphic unit corresponding to the last business data;
[0028] According to the first and second vertices of the graphic unit corresponding to each business data and the starting position of the graphic unit, the third and fourth vertices of the graphic unit corresponding to each business data at the starting position are determined.
[0029] In some embodiments, based on the conversion relationship between different business data, determining the corresponding conversion data for each business data includes:
[0030] Traverse the transformation relationships between different business data, determine the number of source elements and target elements of each business data as the transformation, the set of target elements corresponding to each business data as the source element of the transformation, and the set of source elements corresponding to each business data as the target element of the transformation.
[0031] In some embodiments, determining information of conversion lines between different graphic units used to represent conversions between different business data based on coordinate information of graphic units corresponding to various business data and conversion data corresponding to various business data includes:
[0032] Dispersively setting a specified number of transfer points on the line between the first vertex and the second vertex of each graphic unit, wherein the specified number is equal to the sum of the number of source elements and the number of target elements of the business data corresponding to the graphic unit;
[0033] Determine a source flow point corresponding to a source element of each transformation relationship and a target flow point corresponding to a target element of each transformation relationship;
[0034] A conversion line is constructed from a source flow point corresponding to a source element of each conversion relationship to a target flow point corresponding to a target element of each conversion relationship.
[0035] In some embodiments, determining a source flow point corresponding to a source element of each conversion relationship and a target flow point corresponding to a target element of each conversion relationship includes:
[0036] Among the flow points of a graphic unit, the target flow point is arranged above the source flow point;
[0037] Among the target flow points of a graphic unit, if the source element in the first transformation relationship is located higher in the transformation flow graph, the target flow point corresponding to the target element in the first transformation relationship is arranged lower among the target flow points of the graphic unit;
[0038] Among the source flow points of a graphic unit, if the target element in the second transformation relationship is located lower in the transformation flow diagram, the source flow point corresponding to the source element in the second transformation relationship is arranged higher among the source flow points of the graphic unit.
[0039] In some embodiments, the input data includes basic information of a conversion flow graph, and the basic information includes the length of a conversion line;
[0040] Constructing a conversion line from a source flow point corresponding to a source element of each conversion relationship to a target flow point corresponding to a target element of each conversion relationship includes:
[0041] Construct a transformation line for each transformation relationship, starting from the source flow point corresponding to the source element of each transformation relationship, extending horizontally to the first turning point according to the length of the transformation line, extending vertically from the first turning point to the second turning point, and extending horizontally from the second turning point to the target flow point corresponding to the target element of each transformation relationship.
[0042] In some embodiments, a conversion copy area is set between the first turning point and the second turning point for displaying corresponding conversion rate-related copy.
[0043] In some embodiments, when the input data further includes an adaptive configuration, the basic information of the conversion flow graph is re-determined according to actual display parameters of the display container.
[0044] In some embodiments, re-determining basic information of the conversion flow graph includes:
[0045] In a case where the adaptive configuration includes an adaptive configuration of a graphic unit, re-determining basic information related to the graphic unit according to actual display parameters of the display container, including at least one of a width and a height of the entire graphic unit portion and a minimum display width of the graphic unit;
[0046] In the case where the adaptive configuration includes an adaptive configuration of a conversion line, basic information related to the conversion line, including the length of the conversion line, is re-determined according to actual display parameters of the display container.
[0047] In some embodiments, the graphic unit includes a funnel graph, and the conversion flow graph includes a funnel conversion flow graph.
[0048] Some embodiments of the present disclosure provide a device for implementing data visualization, including:
[0049] An input data acquisition module is configured to acquire input data, wherein the input data includes a plurality of business data and conversion relationships between different business data;
[0050] A graphic unit information determination module is configured to determine, based on each type of business data, coordinate information of a graphic unit corresponding to the business data;
[0051] The conversion data determination module is configured to determine the corresponding conversion data for each type of business data based on the conversion relationship between different business data;
[0052] a conversion line information determination module configured to determine information of conversion lines between different graphic units used to represent conversions between different business data based on coordinate information of graphic units corresponding to various business data and conversion data corresponding to various business data;
[0053] The transformation flow diagram display module is configured to draw and display the transformation flow diagram corresponding to the input data based on the coordinate information of each graphic unit and the information of the transformation lines between different graphic units.
[0054] In some embodiments, it also includes: an adaptive module, which is configured to redetermine the basic information of the conversion flow diagram in the input data according to the actual display parameters of the display container when the input data also includes an adaptive configuration, so as to apply it to the graphic unit information determination module and the conversion line information determination module.
[0055] Some embodiments of the present disclosure provide a device for implementing data visualization, including: a memory; and a processor coupled to the memory, wherein the processor is configured to execute the method described in each embodiment based on instructions stored in the memory.
[0056] Some embodiments of the present disclosure provide a non-transitory computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the steps of the method described in each embodiment are implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] The following briefly introduces the drawings required for describing the embodiments or related technologies. The present disclosure can be more clearly understood based on the following detailed description with reference to the drawings.
[0058] Obviously, the drawings described below are only some embodiments of the present disclosure. A person skilled in the art can obtain other drawings based on these drawings without creative work.
[0059] Figure 1 A flowchart illustrating a method for implementing data visualization according to some embodiments of the present disclosure is provided.
[0060] Figure 2 A flowchart illustrating a method for realizing data visualization of a funnel conversion flow diagram according to some embodiments of the present disclosure is shown.
[0061] Figure 3 Shown in accordance with Figure 2 A schematic diagram of an example of a funnel conversion flow diagram drawn using the method.
[0062] Figure 4 and Figure 5 A schematic structural diagram of an apparatus for implementing data visualization according to some embodiments of the present disclosure is shown.
[0063] Figure 6 A schematic structural diagram of an apparatus for implementing data visualization according to some embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0064] The technical solutions in the embodiments of the present disclosure will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present disclosure.
[0065] Unless otherwise specified, descriptions such as “first,” “second,” “third,” and “fourth” in this disclosure are used to distinguish different objects and are not used to indicate meanings such as size or time sequence.
[0066] Figure 1 A flowchart illustrating a method for implementing data visualization according to some embodiments of the present disclosure is shown. The method for implementing data visualization according to this embodiment may be executed by, for example, a device for implementing data visualization.
[0067] like Figure 1 As shown, the method for realizing data visualization in this embodiment includes the following steps.
[0068] In step 110, input data is acquired, where the input data includes a variety of business data, conversion relationships between different business data, basic information of the conversion flow graph, adaptive configuration, etc.
[0069] Business data is used to draw graphic units. Conversion relationships between different business data include: Conversion relationships between any one type of business data and one or more other types of business data. Conversion relationships between one type of business data and another type of business data represent conversions between business data in a single process, while conversion relationships between one type of business data and multiple types of business data represent conversions between business data in multiple processes.
[0070] The basic information of the conversion flow diagram includes: basic information related to the graphic unit, such as the overall width and height of the graphic unit, the minimum display width of the graphic unit, the color of the graphic unit, and basic information related to the conversion line, such as the length of the conversion line and the color of the conversion line.
[0071] The overall width and height of the graphic unit portion, the minimum display width of the graphic unit, and the length of the conversion line can be configured as fixed values or as display parameters of the display container at a preset ratio (such as the resolution of the display screen). The display parameters of the display container can be set to default values or to the actual display parameters of the current display container. When the overall width and height of the graphic unit portion, the minimum display width of the graphic unit, and the length of the conversion line are configured as the actual display parameters of the current display container at a preset ratio, the overall width and height of the graphic unit portion, the minimum display width of the graphic unit, and the length of the conversion line dynamically change as the display container changes.
[0072] Adaptive configuration indicates whether to enable display adaptation. Display adaptation includes: graphic unit adaptation, transition line adaptation, and both graphic unit and transition line adaptation. For graphic unit adaptation, the overall width and height of the graphic unit, as well as the minimum display width of the graphic unit, can be set to the actual display parameters of the current display container at a preset scale. For transition line adaptation, the transition line length can be set to the actual display parameters of the current display container at a preset scale.
[0073] If the input data also includes an adaptive configuration, the basic information of the transformation flow graph is re-determined based on the actual display parameters of the display container. If the adaptive configuration includes the adaptive configuration of a graphic unit, the basic information related to the graphic unit is re-determined based on the actual display parameters of the display container, including at least one of the width and height of the entire graphic unit portion and the minimum display width of the graphic unit. If the adaptive configuration includes the adaptive configuration of a transformation line, the basic information related to the transformation line, including the length of the transformation line, is re-determined based on the actual display parameters of the display container.
[0074] In step 120, coordinate information of a graphic unit corresponding to each type of business data is determined according to the business data.
[0075] According to each type of business data, the coordinate information of the graphic unit corresponding to each type of business data can also be determined in combination with the basic information of the conversion flow graph.
[0076] First, the data represented by one width unit is determined based on the width of the entire graphic unit and the maximum data of the various business data. For example, the quotient of the maximum data of the various business data and the width of the entire graphic unit is determined as the data represented by one width unit.
[0077] Next, the height of a graphic unit is determined based on the height of the entire graphic unit portion and the number of types of the various business data. For example, the quotient of the height of the entire graphic unit portion and the number of types of the various business data is determined as the height of a graphic unit.
[0078] Next, the horizontal coordinate of the first vertex of the graphic unit corresponding to each type of business data is determined based on each type of business data and the data represented by one width unit. For example, the horizontal coordinate of the first vertex of the graphic unit corresponding to each type of business data is determined as the product of each type of business data and the data represented by one width unit.
[0079] Next, the ordinate of the first vertex of the graphic unit corresponding to each type of business data is determined based on the position of each type of business data in the conversion flow graph and the height of the graphic unit. For example, the ordinate of the first vertex of the graphic unit corresponding to each type of business data is determined by multiplying the position of each type of business data in the conversion flow graph by the height of the graphic unit.
[0080] Then, according to the position of each business data in the conversion flow diagram, the first vertex of the graphic unit corresponding to the next business data is used as the second vertex of the graphic unit corresponding to the previous business data, the minimum display width of the graphic unit is used as the horizontal coordinate of the second vertex of the graphic unit corresponding to the last business data, and the overall height of the graphic unit part is used as the vertical coordinate of the second vertex of the graphic unit corresponding to the last business data.
[0081] Finally, based on the first and second vertices of the graphic unit corresponding to each business data and the starting position of the graphic unit, the third and fourth vertices of the graphic unit corresponding to each business data at the starting position are determined, wherein the second and third vertices have the same height (i.e., vertical coordinates), and the first and fourth vertices have the same height (i.e., vertical coordinates).
[0082] Thus, the coordinate information of the four vertices of the graphic unit is determined.
[0083] Business data related text can be displayed on the graphic unit.
[0084] In step 130 , the conversion data corresponding to each type of business data is determined based on the conversion relationship between different business data.
[0085] According to the conversion relationship between different business data, determining the corresponding conversion data for each business data includes: traversing the conversion relationship between different business data, determining the number of source elements for each business data as the conversion and the number of target elements for each business data as the conversion, the set of target elements corresponding to each business data as the source element for the conversion, and the set of source elements corresponding to each business data as the target element for the conversion, and using the aforementioned determined data as the corresponding conversion data for the business data.
[0086] In step 140 , information of conversion lines between different graphic units used to represent conversion between different business data is determined based on coordinate information of graphic units corresponding to various business data and conversion data corresponding to various business data.
[0087] Based on the coordinate information of the graphic units corresponding to various business data and the corresponding conversion data of each business data, and in combination with the basic information of the conversion flow diagram, information about the conversion lines between different graphic units used to represent the conversion between different business data can be determined. This conversion line information includes flow information about the conversion line and text related to the conversion rate.
[0088] First, a specified number of transfer points are dispersedly set on the line between the first vertex and the second vertex of each graphic unit. The specified number of transfer points can be evenly dispersed, wherein the specified number is equal to the sum of the number of source elements for transformation and the number of target elements for transformation of the business data corresponding to the graphic unit.
[0089] Next, a source flow point corresponding to the source element of each transformation relationship and a target flow point corresponding to the target element of each transformation relationship are determined.
[0090] In some embodiments, determining the source flow point corresponding to the source element of each transformation relationship and the target flow point corresponding to the target element of each transformation relationship includes: arranging the target flow point above the source flow point in the flow points of a graphic unit; arranging the target flow point corresponding to the target element in the first transformation relationship lower among the target flow points of the graphic unit if the source element in any first transformation relationship is located higher in the transformation flow diagram; arranging the source flow point corresponding to the source element in the second transformation relationship higher among the source flow points of the graphic unit if the target element in any second transformation relationship is located lower in the transformation flow diagram. By using this rule, the source flow point corresponding to the source element of each transformation relationship and the target flow point corresponding to the target element of each transformation relationship can be determined.
[0091] Then, a transformation line is constructed from the source flow point corresponding to the source element of each transformation relationship to the target flow point corresponding to the target element of each transformation relationship.
[0092] In some embodiments, constructing a transformation line from a source flow point corresponding to a source element of each transformation relationship to a target flow point corresponding to a target element of each transformation relationship includes: constructing a transformation line for each transformation relationship, starting from the source flow point corresponding to the source element of each transformation relationship, extending horizontally according to the aforementioned transformation line length to a first turning point, extending vertically from the first turning point to a second turning point, and extending horizontally from the second turning point to a target flow point corresponding to the target element of each transformation relationship. The second turning point is located at the intersection of the longitudinal extension line of the first turning point and the transverse extension line of the target flow point.
[0093] The transformation lines between the graphic units determined according to the above method will not intersect with each other, and the visual display effect is better.
[0094] In addition, a conversion text area can be set between the first turning point and the second turning point to display corresponding conversion rate-related text. The conversion text area can be set at a preset ratio between the first turning point and the second turning point. For example, a conversion text area is set at a 2 / 3 position between the first turning point and the second turning point. Regarding conversion rate-related text, for example, the text of the conversion line between the graphic unit of the first business data and the graphic unit of the second business data can be: the conversion rate of the first business data to the second business data, and the conversion rate is equal to the quotient of the second business data and the first business data.
[0095] In step 150 , a transformation flow diagram corresponding to the input data is drawn and displayed based on the aforementioned determined coordinate information of each graphic unit and the information of the transformation lines between different graphic units.
[0096] The above embodiment dynamically determines the corresponding conversion data of each business data based on the input of multiple business data and the conversion relationship between different business data, and then determines the coordinate information of each graphic unit and the information of the conversion line between different graphic units, and displays the corresponding conversion flow diagram, thereby realizing a visualization solution that supports dynamic data conversion and can flexibly support the visualization display needs of various business scenarios.
[0097] In addition, the above embodiment not only supports the conversion display between business data involving a single link, but also supports the conversion display between business data involving multiple links, thereby enhancing the display function of the conversion flow diagram.
[0098] In addition, the above embodiment not only supports the display of business data related copy on the graphic unit, but also supports the display of business data conversion related copy on the conversion line. In particular, it not only supports the display of business data conversion related copy involving a single link, but also supports the display of business data conversion related copy involving multiple links, thereby enhancing the display function of the conversion flow diagram.
[0099] In the method for realizing data visualization in the above embodiment, the graphic unit is, for example, a funnel chart, and the conversion flow chart is, for example, a funnel conversion flow chart.
[0100] Figure 2 A flowchart illustrating a method for realizing data visualization of a funnel conversion flow diagram according to some embodiments of the present disclosure is shown.
[0101] Figure 3 Shown in accordance with Figure 2 A schematic diagram of an example of a funnel conversion flow diagram drawn using the method.
[0102] like Figure 2 As shown, the method for realizing data visualization of the funnel conversion flow diagram in this embodiment includes the following steps.
[0103] Step 210: Call the method for realizing data visualization of the funnel conversion flow diagram, and pass in relevant parameters: 1. Business data (i.e., funnel data), which is used to draw the funnel diagram; 2. Conversion relationship data between business data (i.e., funnel conversion relationship data), which is used to calculate the conversion line data and draw the diagram; 3. Adaptive data, how to adapt, including three situations: funnel adaptation, conversion line adaptation, and funnel and conversion line adaptation; 4. Basic information of the funnel conversion flow diagram, such as funnel color, conversion line color, the width and height of the entire funnel diagram, conversion line length, and other related content.
[0104] Here is an example.
[0105] Incoming funnel data: Number of browsing users: 2800, Number of users who added to the shopping cart: 400, Number of users who generated orders: 200, Number of users who paid for orders: 180.
[0106] Input funnel conversion relationship data: the number of browsing users is converted into the number of users who added to the shopping cart, the number of users who generated orders, and the number of users who paid orders; the number of users who added to the shopping cart is converted into the number of users who generated orders; the number of users who generated orders is converted into the number of users who paid orders.
[0107] Pass in basic information: funnel color color, conversion line color lineColor, funnel overall width width and height height, funnel minimum display width minWidth, conversion line length lineLength, etc.
[0108] The adaptation data is configured such that adaptation is not required, for example.
[0109] Step 220: Calculate the funnel data: Obtain the coordinate information of each funnel based on the funnel data, the width and height of the entire funnel graph, the funnel display position and other related information.
[0110] First, based on the overall width width and height height of the funnel graph, the number of funnels length, and the maximum data max in the funnel data, calculate the data represented by a width unit wUnint=max / width, and calculate the height of a funnel hUnint=height / length.
[0111] Next, the coordinate information of the upper right vertex (first vertex) V1 of each funnel is calculated: X coordinate: funnel data of each funnel × wUnint, Y coordinate: position of each funnel in the entire funnel × hHeight.
[0112] Take the funnel data in step 210 as an example, Figure 3 As shown in the figure, the funnel data of the four funnels are: number of browsing users: 2800, number of users who added to shopping carts: 400, number of users who generated orders: 200, and number of users who paid for orders: 180; the positions of the four funnels in the overall funnel are, from top to bottom, the number of browsing users (funnel F1), the number of users who added to shopping carts (funnel F2), the number of users who generated orders (funnel F3), and the number of users who paid for orders (funnel F4).
[0113] The coordinates of the upper right vertex (first vertex) F1-V1 of the funnel F1 are (2800×wUnint, 0×hHeight);
[0114] The coordinates of the upper right vertex (first vertex) F2-V1 of the funnel F2 are (400×wUnint, 1×hHeight);
[0115] The coordinates of the upper right vertex (first vertex) F3-V1 of the funnel F3 are (200×wUnint, 2×hHeight);
[0116] The coordinates of the upper right vertex (first vertex) F4-V1 of the funnel F4 are (180×wUnint, 3×hHeight).
[0117] Next, calculate the coordinates of each funnel's lower right vertex (second vertex) V2: the next funnel's upper right vertex (first vertex) serves as the lower right vertex (second vertex) of the previous funnel. The lower right vertex (second vertex) of the last funnel is calculated as the funnel's minimum display width (minWidth) and the height (height) of the funnel. The lower right vertex (second vertex) V2 of each funnel is F1-V2, F2-V2, F3-V2, and F4-V2, respectively.
[0118] Next, calculate the lower left vertex (third vertex) V3 and the upper left vertex (fourth vertex) V4 of each funnel at the starting position: According to the positions of the upper right vertex (first vertex) V1 and the lower right vertex (second vertex) V2 of each funnel, determine the lower left vertex (third vertex) V3 and the upper left vertex (fourth vertex) V4 of each funnel at the starting position. Among them, the height (i.e., the vertical coordinate) of the second vertex and the third vertex is the same, and the height (i.e., the vertical coordinate) of the first vertex and the fourth vertex is the same. The lower right vertex (second vertex) V3 of each funnel is F1-V3, F2-V3, F3-V3, and F4-V3 respectively. The upper left vertex (fourth vertex) V4 of each funnel is F1-V4, F2-V4, F3-V4, and F4-V4 respectively.
[0119] Step 230: Convert the coordinate information of each funnel: Assemble the coordinates of the four vertices of each funnel into an object Obj-1. The outline of the funnel can be drawn through Obj-1.
[0120] Step 240: Calculate the funnel conversion relationship data: According to the funnel conversion relationship data, obtain the corresponding conversion data of each funnel.
[0121] Traverse the funnel conversion relationship data, count the number of source elements (sourceNum) for each funnel, count the number of target elements (targetNum) for each funnel, count the set of target elements (targetArr) corresponding to each funnel as a source element, and count the set of source elements (sourceArr) corresponding to each funnel as a target element.
[0122] For example, for "the number of users who browsed and converted into the number of users who added to the shopping cart", "the number of users who browsed" is the source element and "the number of users who added to the shopping cart" is the target element.
[0123] Take the funnel conversion relationship data in step 210 as an example:
[0124] For the funnel of "number of users browsing", the corresponding conversion data is: sourceNum = 3, targetNum = 0, sourceArr: [], targetArr: ['number of users who added to the shopping cart', 'number of users who generated orders', 'number of users who paid orders'];
[0125] For the funnel of "number of users who added to the shopping cart", the corresponding conversion data is: sourceNum = 1, targetNum = 1, sourceArr: ['number of users who browsed'], targetArr: ['number of users who generated orders'];
[0126] For the funnel of "number of users who generated orders", the corresponding conversion data is: sourceNum = 1, targetNum = 2, sourceArr: ['number of users who browsed', 'number of users who added to cart'], targetArr: ['number of users who paid for orders'];
[0127] For the funnel of "number of users who paid orders", the corresponding conversion data is: sourceNum=0, targetNum=2, sourceArr:['number of users who browsed', 'number of users who generated orders'], targetArr:[].
[0128] Step 250: Transform the corresponding transformation data of each funnel: Assemble the transformation data of each funnel, such as sourceNum, targetNum, targetArr, sourceArr, etc., into an object Obj-2.
[0129] Step 260: Perform a combined calculation on Obj-1 obtained in step 230 and Obj-2 obtained in step 250, calculate the coordinates of each key point of the conversion line between the funnels, and assemble them into an object Obj-3.
[0130] The key points of the conversion line include the starting point (source flow point) and the ending point (target flow point). If the conversion line is a broken line, the key points of the conversion line also include several turning points located between the starting point and the ending point, such as the first turning point and the second turning point mentioned above.
[0131] First, based on a specific funnel conversion relationship, the source funnel where the source flow point of the corresponding conversion line is located and the target funnel where the target flow point of the conversion line is located can be determined.
[0132] Next, because there may be multiple transfer points on the line connecting the first and second vertices of each funnel, it is necessary to further determine which transfer point in the source funnel the source transfer point of the conversion line is, and which transfer point in the target funnel the target transfer point of the conversion line is. For specific determination rules, see step 140. This determines the positions of the source transfer point and target transfer point of the conversion line.
[0133] Next, starting from the source flow point, extend the length of the conversion line horizontally to the first turning point, vertically from the first turning point to the second turning point, and horizontally from the second turning point to the target flow point. The second turning point is located at the intersection of the longitudinal extension of the first turning point and the horizontal extension of the target flow point. This determines the location of each turning point on the conversion line.
[0134] like Figure 3 As shown, there are 3 (sourceNum + targetNum = 3 + 0 = 3) flow points on funnel F1, and all 3 flow points of funnel F1 are source flow points. Funnel F1 has three conversion lines: conversion line 1 from funnel F1 to funnel F2, conversion line 2 from funnel F1 to funnel F3, and conversion line 3 from funnel F1 to funnel F4. The lower the target funnel is in the conversion flow diagram, the higher the source flow points of these three conversion lines are arranged among the source flow points of funnel F1. That is, the first flow point of funnel F1 is the source flow point of conversion line 3, the second flow point of funnel F1 is the source flow point of conversion line 2, and the third flow point of funnel F1 is the source flow point of conversion line 1.
[0135] Similarly, there are 2 (sourceNum + targetNum = 0 + 2 = 2) flow points on funnel F4, and both flow points of funnel F4 are target flow points. Funnel F4 has two conversion lines: conversion line 3 from funnel F1 to funnel F4, and conversion line 4 from funnel F3 to funnel F4. The higher the source funnel is in the conversion flow diagram, the lower the target flow points of these two conversion lines are arranged among the target flow points of funnel F4. That is, the first flow point of funnel F4 is the target flow point of conversion line 4, and the second flow point of funnel F4 is the target flow point of conversion line 3.
[0136] By referring to the above method, the number of each flow point of funnel F2 and funnel F3, the conversion line to which each flow point belongs, and the source flow point or target flow point attribute of each flow point can be determined.
[0137] See also Figure 3The key points of the transformation line 3 from funnel F1 to funnel F4, determined using the above method, are: source flow point (D1), first turning point (D2), second turning point (D3), and target flow point (D4). For ease of distinction, solid circles represent source flow points, and hollow circles represent target flow points.
[0138] If the flow points of a funnel are evenly distributed along the line connecting the first and second vertices of the funnel, then the coordinates of each flow point and each turning point can be determined through simple data calculations. For example, assuming that the first vertex of funnel F1 is (X1, Y1) and the second vertex is (X2, Y2), then the horizontal coordinate of point D1 of funnel F1 is: X1-(X1-X2) / (F1_sourceNum+F1_targetNum), and the vertical coordinate of point D1 of funnel F1 is: Y1+(Y2-Y1) / (F1_sourceNum+F1_targetNum). Assuming that the coordinates of point D1 of funnel F1 are (X3, Y3), the coordinates of point D4 of funnel F4 are (X4, Y4), and the length of the transformation line is lineLength, then the coordinates of the first turning point D2 of the transformation line 3 from funnel F1 to funnel F4 are (X3+lineLength, Y3), and the coordinates of the second turning point D3 of transformation line 3 are (X3+lineLength, Y4).
[0139] Step 270: Combine Obj-1 (funnel-related coordinate information) obtained in step 230 and Obj-3 (coordinate information related to the transformation lines between funnels) obtained in step 260 to draw the outline of the funnel and the transformation lines between the funnels.
[0140] Step 280: Based on Obj-3 obtained in step 260, determine the position of the conversion copy area on the conversion line, and display the corresponding conversion rate-related copy in the conversion copy area.
[0141] For example, a conversion copy area is set at, for example, the 2 / 3 position between the first turning point D2 and the second turning point D3 of the conversion line 3 from funnel F1 to funnel F4. The height lineTextHeight and width lineTextWidth of the conversion copy area can be set. The conversion copy area can display the conversion rate from funnel F1 to funnel F4, for example, a conversion rate of 180 / 2800.
[0142] Step 290: Based on the information obtained in steps 270 and 280, draw the funnel, conversion line, conversion line text, etc.
[0143] Draw a funnel: Draw a funnel along the path of the first vertex, second vertex, third vertex, and fourth vertex of the funnel.
[0144] Draw a conversion line: Draw a conversion line along the path of the source flow point, the first turning point, the second turning point, and the target flow point.
[0145] Draw Conversion Line Text: Draw the conversion rate data in the conversion text area on the conversion line. Furthermore, the conversion line may not be drawn where it intersects the conversion text area to more clearly present the conversion rate data.
[0146] Step 2100: Monitor whether the funnel conversion flow diagram has adaptive settings. If so, execute steps 220-290; otherwise, execute step 2110.
[0147] If there is an adaptive setting, the actual basic information such as the overall width and height of the funnel chart, the minimum display width of the funnel minWidth, and the conversion line length lineLength are determined according to the current display resolution and the preset ratio information.
[0148] Step 2110: Render and display the funnel conversion flow diagram in step 290.
[0149] The above embodiment is based on multiple funnel data and the conversion relationship between different funnel data, dynamically determines the corresponding conversion data of each funnel, and then determines the coordinate information of each funnel and the information of the conversion line between different funnels, and displays the corresponding funnel conversion flow diagram, thereby realizing a visualization solution that supports dynamic data conversion, which can flexibly support the visualization display requirements of various business scenarios. Therefore, the funnel conversion flow diagram is also called a funnel dynamic conversion flow diagram.
[0150] In addition, the above embodiment not only supports the conversion display between funnels involving a single link, but also supports the conversion display between funnels involving multiple links, thereby enhancing the display function of the funnel conversion flow diagram.
[0151] In addition, the above embodiment not only supports the display of funnel-related copywriting on the funnel, but also supports the display of inter-funnel conversion-related copywriting on the conversion line. In particular, it not only supports the display of inter-funnel conversion-related copywriting involving a single link, but also supports the display of inter-funnel conversion-related copywriting involving multiple links, thereby enhancing the display function of the funnel conversion flow diagram.
[0152] Figure 4 and Figure 5 A schematic structural diagram of an apparatus for implementing data visualization according to some embodiments of the present disclosure is shown.
[0153] like Figure 4 As shown, the apparatus 400 for implementing data visualization in this embodiment includes modules 410 - 450 .
[0154] The input data acquisition module 410 is configured to acquire input data, which includes multiple business data and conversion relationships between different business data; the conversion relationships between different business data include: conversion relationships between any business data and one or more other business data.
[0155] The graphic unit information determination module 420 is configured to determine the coordinate information of the graphic unit corresponding to each type of business data according to the business data.
[0156] The input data includes basic information of the conversion flow graph, and the basic information includes the width and height of the entire graphic unit part.
[0157] The graphic unit information determination module 420 is configured to:
[0158] Determine the data represented by a width unit according to the overall width of the graphic unit part and the maximum data of multiple business data;
[0159] Determine the height of a graphic unit according to the overall height of the graphic unit and the number of types of various business data;
[0160] Determine the horizontal coordinate of the first vertex of the graphic unit corresponding to each type of business data according to each type of business data and data represented by a width unit;
[0161] According to the position of each type of business data in the conversion flow graph and the height of a graphic unit, the vertical coordinate of the first vertex of the graphic unit corresponding to each type of business data is determined.
[0162] The basic information also includes the minimum display width of the graphic unit.
[0163] The graphic unit information determination module 420 is configured to:
[0164] According to the position of each business data in the conversion flow diagram, the first vertex of the graphic unit corresponding to the next business data is used as the second vertex of the graphic unit corresponding to the previous business data, the minimum display width of the graphic unit is used as the horizontal coordinate of the second vertex of the graphic unit corresponding to the last business data, and the height of the entire graphic unit is used as the vertical coordinate of the second vertex of the graphic unit corresponding to the last business data;
[0165] According to the first and second vertices of the graphic unit corresponding to each business data and the starting position of the graphic unit, the third and fourth vertices of the graphic unit corresponding to each business data at the starting position are determined.
[0166] The conversion data determination module 430 is configured to determine the conversion data corresponding to each type of business data according to the conversion relationship between different business data.
[0167] The conversion data determination module 430 is configured to traverse the conversion relationship between different business data, determine the number of source elements and target elements of each business data as the conversion, the set of target elements corresponding to each business data as the source element of the conversion, and the set of source elements corresponding to each business data as the target element of the conversion.
[0168] The conversion line information determination module 440 is configured to determine conversion line information between different graphic units used to represent conversion between different business data based on coordinate information of graphic units corresponding to various business data and conversion data corresponding to various business data.
[0169] The conversion line information determination module 440 is configured to:
[0170] Dispersively setting a specified number of transfer points on the line between the first vertex and the second vertex of each graphic unit, wherein the specified number is equal to the sum of the number of source elements and the number of target elements of the business data corresponding to the graphic unit;
[0171] Determine a source flow point corresponding to a source element of each transformation relationship and a target flow point corresponding to a target element of each transformation relationship;
[0172] A conversion line is constructed from a source flow point corresponding to a source element of each conversion relationship to a target flow point corresponding to a target element of each conversion relationship.
[0173] Wherein, determining the source flow point corresponding to the source element of each transformation relationship and the target flow point corresponding to the target element of each transformation relationship includes:
[0174] Among the flow points of a graphic unit, the target flow point is arranged above the source flow point;
[0175] Among the target flow points of a graphic unit, if the source element in the first transformation relationship is located higher in the transformation flow graph, the target flow point corresponding to the target element in the first transformation relationship is arranged lower among the target flow points of the graphic unit;
[0176] Among the source flow points of a graphic unit, if the target element in the second transformation relationship is located lower in the transformation flow diagram, the source flow point corresponding to the source element in the second transformation relationship is arranged higher among the source flow points of the graphic unit.
[0177] The input data includes basic information of the conversion flow diagram, and the basic information includes the length of the conversion line;
[0178] The conversion line from the source flow point corresponding to the source element of each conversion relationship to the target flow point corresponding to the target element of each conversion relationship is constructed as follows:
[0179] Construct a transformation line for each transformation relationship, starting from the source flow point corresponding to the source element of each transformation relationship, extending horizontally to the first turning point according to the length of the transformation line, extending vertically from the first turning point to the second turning point, and extending horizontally from the second turning point to the target flow point corresponding to the target element of each transformation relationship.
[0180] The transformation flow diagram display module 450 is configured to draw and display a transformation flow diagram corresponding to the input data based on the coordinate information of each graphic unit and the information of the transformation lines between different graphic units.
[0181] The conversion flow diagram display module 450 is configured to display corresponding conversion rate-related copy in the conversion copy area set between the first turning point and the second turning point.
[0182] like Figure 5 As shown, the device 400 for realizing data visualization of this embodiment also includes: an adaptive module 460, which is configured to, when the input data also includes an adaptive configuration, re-determine the basic information of the transformation flow diagram in the input data according to the actual display parameters of the display container, so as to apply it to the graphic unit information determination module 420 and the transformation line information determination module 440.
[0183] The adaptive module 460 is configured to, when the adaptive configuration includes an adaptive configuration of the graphic unit, redetermine basic information related to the graphic unit according to the actual display parameters of the display container, including at least one of the overall width and height of the graphic unit part and the minimum display width of the graphic unit.
[0184] The adaptive module 460 is configured to, when the adaptive configuration includes an adaptive configuration of a conversion line, re-determine basic information related to the conversion line, including the length of the conversion line, according to actual display parameters of the display container.
[0185] Figure 6 FIG. 1 is a schematic diagram showing a structure of an apparatus for realizing data visualization according to some embodiments of the present disclosure. Figure 6 As shown, the device 600 for implementing data visualization in this embodiment includes: a memory 610 and a processor 620 coupled to the memory 610, and the processor 620 is configured to execute the method for implementing data visualization in any of the aforementioned embodiments based on instructions stored in the memory 610.
[0186] The apparatus 600 may further include an input / output interface 630 , a network interface 640 , a storage interface 650 , etc. These interfaces 630 , 640 , 650 , the memory 610 , and the processor 620 may be connected via a bus 660 , for example.
[0187] The memory 610 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, application programs, a boot loader, and other programs.
[0188] The processor 620 may be implemented using a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, or discrete hardware components such as discrete gates or transistors.
[0189] Among them, the input and output interface 630 provides a connection interface for input and output devices such as a display, mouse, keyboard, and touch screen. The network interface 640 provides a connection interface for various networked devices. The storage interface 650 provides a connection interface for external storage devices such as SD cards and USB flash drives. The bus 660 can use any of a variety of bus structures. For example, bus structures include but are not limited to the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MCA) bus, and the Peripheral Component Interconnect (PCI) bus.
[0190] It should be noted that the acquisition, storage and application of user personal information involved in the technical solution of this disclosure are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0191] Those skilled in the art will appreciate that embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present disclosure may take the form of a computer program product implemented on one or more non-transitory computer-readable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer program code.
[0192] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0193] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0194] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0195] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present disclosure should be included in the scope of protection of the present disclosure.
Claims
1. A method for realizing data visualization, characterized in that: include: Acquiring input data, wherein the input data includes a plurality of business data and conversion relationships between different business data; According to each type of business data, determining coordinate information of a graphic unit corresponding to each type of business data; Determine the corresponding conversion data for each business data based on the conversion relationship between different business data; Determining, based on coordinate information of graphic units corresponding to various business data and conversion data corresponding to the various business data, information on conversion lines between different graphic units used to represent conversions between different business data, wherein a flow point is set on a line connecting two vertices of the graphic unit, and the conversion line includes a conversion line from a source flow point corresponding to a source element of each conversion relationship to a target flow point corresponding to a target element of each conversion relationship; According to the coordinate information of each graphic unit and the information of the transformation lines between different graphic units, a transformation flow diagram corresponding to the input data is drawn and displayed.
2. The method according to claim 1, characterized in that The conversion relationship between different business data includes: a conversion relationship between any one kind of business data and one or more other business data.
3. The method according to claim 1, characterized in that The input data includes basic information of the conversion flow graph, and the basic information includes the width and height of the entire graphic unit part; Determining, according to each type of business data, coordinate information of a graphic unit corresponding to each type of business data includes: Determine the data represented by a width unit according to the overall width of the graphic unit part and the maximum data of multiple business data; Determine the height of a graphic unit according to the overall height of the graphic unit and the number of types of various business data; Determine the horizontal coordinate of the first vertex of the graphic unit corresponding to each type of business data according to each type of business data and data represented by a width unit; According to the position of each type of business data in the conversion flow graph and the height of a graphic unit, the vertical coordinate of the first vertex of the graphic unit corresponding to each type of business data is determined.
4. The method according to claim 3, characterized in that Determine the quotient of the maximum data of the multiple business data and the width of the entire graphic unit as the data represented by one width unit; or Determine the quotient of the height of the entire graphic unit portion and the number of types of multiple business data as the height of one graphic unit; or Determine the product of each type of business data and the data represented by one width unit as the abscissa of the first vertex of the graphic unit corresponding to each type of business data; or, The product of the position of each type of business data in the conversion flow graph and the height of a graphic unit is determined as the vertical coordinate of the first vertex of the graphic unit corresponding to each type of business data.
5. The method according to claim 3, characterized in that The basic information also includes the minimum display width of the graphic unit; Determining, according to each type of business data, coordinate information of a graphic unit corresponding to each type of business data further includes: According to the position of each business data in the conversion flow diagram, the first vertex of the graphic unit corresponding to the next business data is used as the second vertex of the graphic unit corresponding to the previous business data, the minimum display width of the graphic unit is used as the horizontal coordinate of the second vertex of the graphic unit corresponding to the last business data, and the height of the entire graphic unit is used as the vertical coordinate of the second vertex of the graphic unit corresponding to the last business data; According to the first and second vertices of the graphic unit corresponding to each business data and the starting position of the graphic unit, the third and fourth vertices of the graphic unit corresponding to each business data at the starting position are determined.
6. The method according to claim 1, characterized in that According to the conversion relationship between different business data, the corresponding conversion data for each business data is determined to include: Traverse the transformation relationships between different business data, determine the number of source elements and target elements of each business data as the transformation, the set of target elements corresponding to each business data as the source element of the transformation, and the set of source elements corresponding to each business data as the target element of the transformation.
7. The method according to claim 6, characterized in that According to the coordinate information of the graphic units corresponding to the various business data and the conversion data corresponding to the various business data, information of the conversion lines between different graphic units used to represent the conversion between different business data is determined, including: Dispersively setting a specified number of transfer points on the line between the first vertex and the second vertex of each graphic unit, wherein the specified number is equal to the sum of the number of source elements and the number of target elements of the business data corresponding to the graphic unit; Determine a source flow point corresponding to a source element of each transformation relationship and a target flow point corresponding to a target element of each transformation relationship; A conversion line is constructed from a source flow point corresponding to a source element of each conversion relationship to a target flow point corresponding to a target element of each conversion relationship.
8. The method according to claim 7, characterized in that Determining a source flow point corresponding to a source element of each transformation relationship and a target flow point corresponding to a target element of each transformation relationship includes: Among the flow points of a graphic unit, the target flow point is arranged above the source flow point; Among the target flow points of a graphic unit, if the source element in the first transformation relationship is located higher in the transformation flow graph, the target flow point corresponding to the target element in the first transformation relationship is arranged lower among the target flow points of the graphic unit; Among the source flow points of a graphic unit, if the target element in the second transformation relationship is located lower in the transformation flow diagram, the source flow point corresponding to the source element in the second transformation relationship is arranged higher among the source flow points of the graphic unit.
9. The method according to claim 7, characterized in that The input data includes basic information of the conversion flow diagram, and the basic information includes the length of the conversion line; Constructing a conversion line from a source flow point corresponding to a source element of each conversion relationship to a target flow point corresponding to a target element of each conversion relationship includes: Construct a transformation line for each transformation relationship, starting from the source flow point corresponding to the source element of each transformation relationship, extending horizontally to the first turning point according to the length of the transformation line, extending vertically from the first turning point to the second turning point, and extending horizontally from the second turning point to the target flow point corresponding to the target element of each transformation relationship.
10. The method according to claim 9, characterized in that A conversion copy area is set between the first turning point and the second turning point for displaying corresponding conversion rate-related copy.
11. The method according to any one of claims 3, 5 and 9, characterized in that: In the case where the input data further includes an adaptive configuration, the basic information of the conversion flow graph is re-determined according to the actual display parameters of the display container.
12. The method according to claim 11, characterized in that The basic information for re-determining the conversion flow diagram includes: In a case where the adaptive configuration includes an adaptive configuration of a graphic unit, re-determining basic information related to the graphic unit according to actual display parameters of the display container, including at least one of a width and a height of the entire graphic unit portion and a minimum display width of the graphic unit; In the case where the adaptive configuration includes an adaptive configuration of a conversion line, basic information related to the conversion line, including the length of the conversion line, is re-determined according to actual display parameters of the display container.
13. The method according to claim 1, wherein The graphic unit includes a funnel diagram, and the conversion flow diagram includes a funnel conversion flow diagram.
14. A device for realizing data visualization, characterized in that: include: An input data acquisition module is configured to acquire input data, wherein the input data includes a plurality of business data and conversion relationships between different business data; A graphic unit information determination module is configured to determine, based on each type of business data, coordinate information of a graphic unit corresponding to the business data; The conversion data determination module is configured to determine the corresponding conversion data for each type of business data based on the conversion relationship between different business data; a conversion line information determination module configured to determine conversion line information between different graphic units used to represent conversions between different business data based on coordinate information of graphic units corresponding to various business data and conversion data corresponding to the various business data, wherein a flow point is set on a line connecting two vertices of a graphic unit, and the conversion line includes a conversion line from a source flow point corresponding to a source element of each conversion relationship to a target flow point corresponding to a target element of each conversion relationship; The transformation flow diagram display module is configured to draw and display the transformation flow diagram corresponding to the input data based on the coordinate information of each graphic unit and the information of the transformation lines between different graphic units.
15. The device according to claim 14, characterized in that Also includes: The adaptive module is configured to, when the input data also includes an adaptive configuration, re-determine the basic information of the transformation flow diagram in the input data according to the actual display parameters of the display container, so as to apply it to the graphic unit information determination module and the transformation line information determination module.
16. A device for realizing data visualization, characterized in that: include: Memory; and a processor coupled to the memory, wherein the processor is configured to execute the method according to any one of claims 1 to 13 based on instructions stored in the memory.
17. A non-transitory computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the steps of the method according to any one of claims 1 to 13 are implemented.
Citation Information
Patent Citations
Chart generation method and device, electronic equipment and medium
CN114564631A