CN113343038A - Data visualization display method and device - Google Patents

Data visualization display method and device Download PDF

Info

Publication number
CN113343038A
CN113343038A CN202110484576.XA CN202110484576A CN113343038A CN 113343038 A CN113343038 A CN 113343038A CN 202110484576 A CN202110484576 A CN 202110484576A CN 113343038 A CN113343038 A CN 113343038A
Authority
CN
China
Prior art keywords
target
chart
dimension
information
display
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
CN202110484576.XA
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.)
Alibaba Innovation Co
Original Assignee
Alibaba Singapore Holdings Pte Ltd
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 Alibaba Singapore Holdings Pte Ltd filed Critical Alibaba Singapore Holdings Pte Ltd
Priority to CN202110484576.XA priority Critical patent/CN113343038A/en
Publication of CN113343038A publication Critical patent/CN113343038A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9024Graphs; Linked lists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/904Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the specification provides a data visualization display method and device, wherein the data visualization display method comprises the following steps: receiving visualization instructions for target project data; counting dimension metric information of the target project data in response to the visualization instruction; determining a display chart type corresponding to the target project data in a preset information display corresponding table according to the dimension measurement information; according to the method, the threshold of data visualization display is reduced, the efficiency of generating the data visualization chart by the user is improved, and therefore the use experience of the user is improved.

Description

Data visualization display method and device
Technical Field
The embodiment of the specification relates to the technical field of computers, in particular to a data visualization display method. One or more embodiments of the present specification also relate to a data visualization display apparatus, a computing device, and a computer-readable storage medium.
Background
With the progress of technology, big data analysis is increasingly heated, and besides the difficulty of calculation and storage of mass data, an important link influencing product research and development efficiency and user experience is also provided, namely data visualization.
The market of data visualization is very wide, and visualization systems or products on the market are full of the Lin Langmuir, but the use of the visualization systems or products requires a user to know professional concepts such as dimension, measurement, a filter and the like, and also requires the user to master the usage of different charts and follow certain configuration steps to generate reasonable charts. Due to the fact that the types of charts are various (such as column charts, pie charts, broken line charts, funnel charts, radar charts and the like), different data structures and different analysis intentions can express the rules of data correctly by using different charts, and a non-professional user often does not know how to select a proper chart to accurately express the internal rules of the data, so that the use is inconvenient for many non-professional users, the user needs to manually select the chart and configuration parameters during each use, the efficiency of making a visual chart by the user is greatly reduced, and the user experience is poor.
Disclosure of Invention
In view of this, the present specification provides a data visualization display method. One or more embodiments of the present disclosure also relate to a data visualization display apparatus, a computing device, and a computer-readable storage medium, so as to solve the technical deficiencies in the prior art.
According to a first aspect of embodiments of the present specification, there is provided a data visualization display method, including:
receiving visualization instructions for target project data;
counting dimension metric information of the target project data in response to the visualization instruction;
determining a display chart type corresponding to the target project data in a preset information display corresponding table according to the dimension measurement information;
and generating and displaying a target display chart according to the dimension measurement information and the display chart type.
According to a second aspect of embodiments of the present specification, there is provided a data visualization display apparatus, including:
a receiving module configured to receive visualization instructions for target project data;
a statistics module configured to count dimensional metric information of the target project data in response to the visualization instructions;
the determining module is configured to determine a display chart type corresponding to the target item data in a preset information display corresponding table according to the dimension measurement information;
and the display module is configured to generate and display a target display chart according to the dimension measurement information and the display chart type.
According to a third aspect of embodiments herein, there is provided a computing device comprising a memory, a processor and computer instructions stored on the memory and executable on the processor, the processor implementing the steps of the data visualization presentation method when executing the computer instructions.
According to a fourth aspect of embodiments herein, there is provided a computer readable storage medium storing computer instructions which, when executed by a processor, implement the steps of the data visualization presentation method.
The data visualization display method provided by the specification receives a visualization instruction for target project data; counting dimension metric information of the target project data in response to the visualization instruction; determining a display chart type corresponding to the target project data in a preset information display corresponding table according to the dimension measurement information; and generating and displaying a target display chart according to the dimension measurement information and the display chart type.
According to the data visualization display method provided by the embodiment of the specification, the target project data are determined according to the preset information display correspondence table according to the dimension measurement information of the target project data, the display chart type is automatically matched according to the common use scene in the analysis field, the display chart is generated, a user does not need to have more professional knowledge, the threshold of data visualization display is reduced, the efficiency of generating the data visualization chart by the user is improved, and the use experience of the user is improved.
Drawings
FIG. 1 is a flowchart of a data visualization display method provided in an embodiment of the present specification;
FIG. 2 is a flowchart of a processing procedure of a data visualization display method according to a second embodiment of the present specification;
fig. 3 is a schematic structural diagram of a data visualization display device provided in an embodiment of the present specification;
fig. 4 is a block diagram of a computing device according to an embodiment of the present disclosure.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present description. This description may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, as those skilled in the art will be able to make and use the present disclosure without departing from the spirit and scope of the present disclosure.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present specification refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first can also be referred to as a second and, similarly, a second can also be referred to as a first without departing from the scope of one or more embodiments of the present description. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
First, the noun terms to which one or more embodiments of the present specification relate are explained.
Dimension: describing the angle of the fact that the data corresponds to, a field being identified as a dimension, indicates that this field is a certain angle for describing the occurrence of the data background item, such as a date dimension, a place dimension, a product dimension, and so on.
And (3) measurement: the measurement is a value on a node of a project process, such as sales, price, cost, etc., and the field identifier is a measurement that identifies the field that can perform value-related operations, such as four arithmetic operations and aggregation operations of average, variance, etc.
Graph: the graphic structure displayed in the screen can visually display the statistical information attributes (timeliness, numerosity and the like) and plays a key role in knowledge mining and information visual and vivid feeling. Such as common line chart, pie chart, bar chart, etc. all belong to the chart.
A data management system: the data management system is a cloud version of a database service platform, can be a network database management terminal which is free of installation, free of operation and maintenance, capable of being used immediately after being opened and unified with multiple environments, and is internally provided with functions of database auditing, performance diagnosis optimization, automatic test data generation, multi-environment data comparison synchronization, database log tracking rollback, table-lock-free change, access control, sensitive data desensitization, safety audit and the like besides a basic data query function.
In practical application, a visualization module of the data management system provides data analysis and visualization capabilities for a user, but since the field of visualization analysis has specific field knowledge, different data structures and different analysis intents, different charts are needed to correctly express rules behind data, so that more non-professional users can find the rules of data through visualization, the use threshold of the user needs to be reduced, and the visualization configuration process of the user is simplified.
Based on this, in the present specification, a data visualization display method is provided, and the present specification relates to a data visualization display apparatus, a computing device, and a computer readable storage medium, which are described in detail in the following embodiments one by one.
Fig. 1 shows a flowchart of a data visualization presentation method provided according to an embodiment of the present specification, which includes steps 102 to 108.
Step 102: visualization instructions for the target project data are received.
The target project data may be any data related to a project, such as sales data, card punching data, access data, and the like.
The visualization instruction specifically refers to an instruction for converting target project data into a visualization chart, and receives a visualization instruction sent by a user for different target project data, for example, the visualization instruction sent by the user for sales data is received, that is, the instruction sent by the user for converting the sales data into the visualization chart is received; and receiving a visualization instruction of the access data by the user, namely receiving an instruction sent by the user to convert the access data into a visualization chart, and the like.
Step 104: and counting dimension measurement information of the target project data in response to the visualization instruction.
After receiving the visualization instruction, counting dimension metric information of the target project data in response to the visualization instruction, specifically, counting dimension metric information of the target project data in response to the visualization instruction includes:
counting dimension information and/or metric information of the target project data in response to the visualization instructions;
and determining whether the target item data comprises the dimension information or not according to the dimension information under the condition that the target item data comprises the dimension information.
Dimension information refers to an angle describing the fact that the data corresponds to, and if a field is identified as a dimension, the field is used for describing a certain angle of occurrence of a data background item, such as a date dimension, a place dimension, a product dimension and the like. The measurement information is a value on the node of the project process, such as sales, price, cost, etc., the field mark is measurement, and the field mark is marked to carry out the operation related to the value, such as four arithmetic operations, average, variance, etc.
Counting dimension measurement information of the target project data, namely counting dimension information and/or measurement information of the target project data, namely counting the dimension information if the target project data only comprises dimensions; if only the measurement is included, counting the measurement information; if the dimension and the measure are included, dimension information and measure information are counted.
Meanwhile, if the target item data includes the enumeratable dimensions according to the dimension information under the condition of the dimension information of the target item data packet, the enumeratable dimensions refer to dimensions which meet the enumeratable rule, and the enumeratable dimensions mean enumerating, namely, the dimensions can be enumerated one by one, for example, the gender is only male and female, so that the gender dimension is the enumeratable dimension; for example, a week including Monday through Sunday, seven in number, so the week dimension is also an enumeratable dimension, and so on.
Specifically, the determining whether the target item data includes an enumerable dimension according to the dimension information includes:
counting the number of the dimension values of the dimension information;
judging whether the number of the dimension values is larger than a preset threshold value or not;
if yes, determining that the target item data comprises non-enumeratable dimensions;
if not, determining that the target item data comprises the enumeratable dimension.
In practical application, the number of dimension values of each dimension information is counted, for example, for the gender dimension, the number of dimension values is 2; for the week dimension, the number of dimension values is 7. And judging whether the number of the dimension values is greater than a preset threshold value, if so, considering the dimension as a non-enumeratable dimension, and if not, considering the dimension as an enumeratable dimension.
Still taking sex and week as examples, in an embodiment of this specification, the preset threshold is 5, and for the sex dimension, the number of dimension values is 2, which is less than the preset threshold 5, so that the sex dimension is an enumeratable dimension; for the week dimension, the number of dimension values is 7, which is greater than a preset threshold of 5, so the week dimension is an unequivocal dimension.
Step 106: and determining the display chart type corresponding to the target item data in a preset information display corresponding table according to the dimension measurement information.
The display chart type corresponding to the condition that different dimension measurement information is recorded in the preset information display corresponding table corresponds to which type of display chart, and after the dimension measurement information is determined, the display chart type corresponding to the target project data can be determined according to the dimension measurement information.
Specifically, the determining, according to the dimension metric information, the display chart type corresponding to the target item data in a preset information display correspondence table includes S1062-S1064:
s1062, determining the target type of the target project data according to the dimension information and/or the metric information of the target project data.
The determining a target type of the target project data according to the dimension information and/or the metric information of the target project data includes:
determining that the target project data is of a first target type if the target project data includes the dimension information and does not include the metric information;
determining that the target project data is of a second target type if the target project data includes the metric information and does not include the dimension information;
determining that the target project data belongs to a third target type if the target project data includes the dimension information and the metric information.
In practical application, according to the statistical conditions of dimension information and measurement information in the target project, determining which type the target project data belongs to.
In the case where only the dimension information is included in the target item data, it is determined that the target item data belongs to the first target type, for example, the target item data is registration data for recording a daily visitor record, and in the registration data, there are only a registration date and a registration name, where the registration date is the dimension information and the registration name is not the metric information, and thus the target item data is determined to be the first target type.
In the case where only the metric information is included in the target item data, it is determined that the target item data belongs to the second target type, for example, the target item data is real-time sales data for recording a real-time accumulated transaction amount of a certain website, and only the real-time accumulated transaction amount is recorded in the real-time sales data as the metric information, and thus, the target item data is determined to be the second target type.
In the case that the target item data includes both dimension information and measurement information, it is determined that the target item data belongs to a third target type, for example, the target item data is sales record data for recording daily sales records of a certain merchant, and the sales record data includes a sales date and a sales amount, where the sales date is the dimension information and the sales amount is the measurement information, and thus the target item data is determined to be the third target type.
The target type of the target project data is related to the statistical dimension information and/or the metric information, and the data visualization display method provided by the embodiment of the specification can determine the corresponding display chart type according to the target type of the statistical target project data.
S1064, determining a display chart type corresponding to the target type in a preset information display corresponding table.
After the target type of the target item data is determined, the display chart type corresponding to the target type is determined in a preset information display corresponding table according to the target type, and the display chart type corresponding to each target type is recorded in the information display corresponding table. The data management system configures corresponding display chart types for each target type in advance. The display chart type corresponding to each target type will be further explained in turn.
In one embodiment provided herein, in the case where the target item data is of a first target type;
determining a display chart type corresponding to the target type in a preset information display corresponding table, wherein the method comprises the following steps:
judging whether the dimension information comprises a target dimension parameter or not;
if yes, determining a trend chart or a geography chart corresponding to the first target type according to a preset information display corresponding table;
if not, judging whether the dimension information comprises the enumeratable dimensions;
if yes, determining a proportion chart corresponding to the first target type according to a preset information display corresponding table;
if not, determining that the first target type corresponds to the detail type chart according to a preset information display corresponding table.
In the first embodiment provided in this specification, taking target item data as a first target type as an example, the target item data of the first target type is target item data only including dimension information, and such data structures generally appear in scenes such as entity tables, event tables, and the like, and can be generally used for analyzing quantity change trends, quantity distributions, quantity comparisons, and the like. Firstly, judging whether the dimension information comprises target dimension parameters, wherein the target dimension parameters specifically refer to parameters which can be used as display chart grouping dimensions, such as date dimensions and place dimensions, if the target dimension parameters are the date dimensions, determining that the display chart type corresponding to the target type is a trend chart, and the target dimension parameters are chart dimensions of the display chart type; if the target dimension parameter is a place dimension, determining that the display chart type corresponding to the target type is a geographical chart, such as a thermodynamic chart, a map chart and the like. Taking target item data as registration data as an example, in the registration data, there are a registration date and a registration name, wherein the registration date is a target dimension parameter, it can be determined that the registration data table corresponds to a trend chart, such as a line chart, a bar chart, etc., wherein the registration date is a dimension of the chart, and the number of registered people per day is a measure.
If the dimension information does not include the target dimension parameter, judging whether the dimension information has an enumeratable dimension, if so, determining that the display chart type corresponding to the target type is an occupation chart, such as a pie chart, a ring chart and the like, and taking the enumeratable dimension as the dimension of the chart; and if not, determining that the display chart type corresponding to the target type is a detail type chart and is used for displaying detail data.
In a second embodiment provided in the present specification, in the case where the target item data belongs to a second target type;
determining a display chart type corresponding to the target type in a preset information display corresponding table, wherein the method comprises the following steps:
determining the quantity of metric parameters in the metric information;
under the condition that the number of the measurement parameters is one, determining a highlight class chart, a distribution class chart and/or a progress class chart corresponding to the second target type according to a preset information display corresponding table;
and under the condition that the number of the measurement parameters is at least two, determining a corresponding emphasized class diagram and/or a related class diagram of the second target type according to a preset information display corresponding table.
In the second embodiment provided in the present specification, target item data of a second target type is taken as an example, and target item data of the second target type is target item data including only metric information. Such data structures usually appear in pure statistical tables, and for data structures with only metric information, different scenarios can be subdivided, and the number of metric parameters included in the metric information needs to be determined first.
And in the case that the number of the measurement parameters is only one, determining the display chart type corresponding to the target type as an emphasis class chart by default, such as an indicator card, setting the measurement as a main index of the indicator card, and setting the record number as an auxiliary index. For example, the real-time turnover of a certain website is counted, and then the turnover can be displayed in real time through the index card. Meanwhile, the display chart type corresponding to the target type can be determined to be a distribution chart (histogram) or a progress chart (odometer) and the like. When a distribution type chart is selected, carrying out dynamic box separation on the measurement, and displaying the distribution of the measurement number according to different boxes; when the progress chart is selected, the measurement is used as the chart measurement, and the progress is displayed by combining the target value input by the user.
And under the condition that the number of the measurement parameters is at least two, the display chart type corresponding to the default target type is a highlight chart, and each measurement is set as a plurality of indexes of the index card. Meanwhile, a plurality of metrics may also be subjected to correlation analysis, or a class chart may be correlated as an alternative, for example, a scatter chart, each metric is taken as each metric of the scatter chart, and the correlation between the plurality of metrics may be observed.
In a third embodiment provided in the present specification, in a case where the target item data belongs to a third target type;
determining a display chart type corresponding to the target type in a preset information display corresponding table, wherein the method comprises the following steps:
judging whether the dimension information comprises a target dimension parameter or not;
if yes, determining a trend chart or a geography chart corresponding to the third target type according to a preset information display corresponding table;
if not, judging whether the dimension information comprises the enumeratable dimensions;
if so, determining that the third target type corresponds to a comparison chart and/or a proportion chart according to a preset information display corresponding table;
and if not, determining that the third target type corresponds to the emphasis class chart according to a preset information display corresponding table.
In a third embodiment provided in this specification, target item data of a third target type is taken as an example, and the target item data of the third target type is target item data including both dimension information and measurement information. Such data structures may use more types of charts and may cover most analysis scenarios, such as trend-class charts (line charts), proportion-class charts (pie charts), contrast-class charts (bar charts), and so on.
For the third target type, it is also required to determine whether the dimension information includes the target dimension parameter, and if there is the target dimension parameter, it is determined that the display chart type corresponding to the target type is a trend chart (such as a line chart) or a geography chart (such as a thermodynamic chart or a map chart). At this time, if the enumerable dimension is included, the enumerable dimension is used as a grouping dimension of the chart, the variation trend of the different grouping values of the metric is displayed, and the variation trend can be displayed as a plurality of curves; if the enumeratable dimensions are not included, setting the target dimension parameters as chart dimensions, setting the measurement information as chart measurements, and displaying the variation trend of the measurement along with the target dimension parameters. If there are a plurality of pieces of metric information, the first piece of metric information is used as a graph metric.
If the target dimension parameter is not included, whether the enumerable dimension exists in the dimension information needs to be judged, if so, the type of the display chart corresponding to the target type can be determined to be a comparison chart or a proportion chart, such as a pie chart or a bar chart, the enumerable dimension is set as the dimension of the chart, the measurement information is set as the measurement of the chart, and the enumerable dimension can be used for checking the comparison or the proportion of the numerical value of the measurement information under different dimension values. If the measurement information is multiple, taking the first measurement information as chart measurement; if there are a plurality of enumeratable dimensions, the first enumeratable dimension is used as the dimension of the chart, and an adjustment instruction of a user can be received to adjust between different measurement information and/or dimension information.
If the dimension information does not include the enumeratable dimensions, the enumeratable dimensions are processed according to a second target type, the display chart type corresponding to the default target type is an emphasis class chart, the measurement information and the record number are taken as indexes of the index card for configuration, the total number and the number of the measurement information can be observed, and if the measurement information is multiple, the first measurement information is taken as the index of the index card.
It should be noted that the judgment logics between the target types are not in sequence, and the judgment logics for determining the display chart type corresponding to each target type are mutually exclusive.
Step 108: and generating and displaying a target display chart according to the dimension measurement information and the display chart type.
After the display chart type is determined, the display chart type can be filled according to the dimension measurement information, a target display chart is generated, and the target display chart is displayed to a user. Different data structures are configured through a preset information display corresponding table and a relatively fixed rule, a corresponding display chart is generated, and the use experience of a user is improved.
Specifically, the display chart type comprises at least two display chart subtypes;
generating and displaying a target display chart according to the dimension measurement information and the display chart type, wherein the generating and displaying of the target display chart comprises the following steps:
determining a target presentation chart subtype and at least one candidate presentation chart subtype among the at least two presentation chart subtypes;
generating and displaying a target display sub-chart according to the dimension measurement information and the target display chart subtype;
and generating and displaying at least one candidate display sub-chart according to the dimension measurement information and the at least one candidate display chart subtype.
In practical application, some display chart types of the target types of the information display corresponding table include a plurality of display chart subtypes, for example, a second target type can correspond to a highlight chart, a distribution chart or a progress chart under the condition of a measurement parameter, one target display chart subtype is selected according to default configuration, other display chart subtypes are set as candidate display chart subtypes, a target display sub-chart is generated according to the target display chart subtypes, and the candidate display sub-chart is generated according to the candidate display chart subtypes.
Optionally, the method further includes:
receiving a chart switching instruction;
determining a new target presentation sub-chart among the at least one candidate presentation sub-chart in response to the chart switching instruction.
After a plurality of display sub-charts are generated, a target display sub-chart is firstly displayed for a user, the target display sub-chart is a sub-chart displayed for the user, a chart switching instruction of the user can be received, a new target display sub-chart is determined in the candidate display sub-charts, and the original target display sub-chart is set as the candidate display sub-chart.
The method provided by the embodiment of the specification further comprises the following steps: the operation habits of the user can be counted, the chart switching instruction sent by the user is recorded, the user preference of the user is analyzed, and when the display chart is generated again, the target display chart can be generated according to the user preference. For example, if the initial target display chart is a bar chart, the user sends a chart switching instruction, and selects more pie charts, the user preference of the user can be determined as the pie charts, and the pie charts can be directly generated when the target display chart is subsequently regenerated. The use habit of the user is better fitted, and the use experience of the user is improved.
The specification embodiment includes receiving visualization instructions for target project data; counting dimension metric information of the target project data in response to the visualization instruction; determining a display chart type corresponding to the target project data in a preset information display corresponding table according to the dimension measurement information; and generating and displaying a target display chart according to the dimension measurement information and the display chart type. According to the data visualization display method provided by the specification, the target project data are determined according to the dimension measurement information of the target project data and the preconfigured information display correspondence table, the display chart type is automatically matched according to the common use scene in the analysis field, and the display chart is generated, so that a user does not need to have more professional knowledge, the threshold of data visualization display is reduced, the efficiency of generating the data visualization chart by the user is improved, and the use experience of the user is improved.
Secondly, the method provided by the embodiment of the specification can also provide various charts for the user to select, the user can also perform targeted adjustment on the charts, meanwhile, the adjustment instruction of the user is recorded, user preference information is generated, more personalized charts are provided for the user in the follow-up process, and the user experience is further improved.
Fig. 2, which is described below with reference to fig. 2, illustrates a flowchart of a processing procedure of a data visualization presentation method provided in a second embodiment of the present specification, where specific steps include step 202 to step 238.
Step 202: visualization instructions for the target project data are received.
Step 204: and carrying out statistics on dimension information and/or measurement information of the target project data.
Determining a specific execution step according to the dimension information and/or the metric information of the target project data, and executing step 206 and step 216 if the dimension information is included and the metric information is not included; in the case where the measurement information is included and the dimension information is not included, step 218-224 is performed; step 226 and 234 are performed after the measurement information is included and the dimension information is included;
step 206: the target item data includes dimension information and does not include metric information.
Step 208: it is determined whether the target dimension parameter is included, if yes, step 210 is performed, and if not, step 212 is performed.
Step 210: a trend class chart or a geography class chart is determined.
Step 212: it is determined whether an enumeratable dimension is included, if so, step 214 is performed, and if not, step 216 is performed.
Step 214: and determining a comparison proportion class chart.
Step 216: and determining the detail class diagram.
Step 218: the target item data includes metric information and does not include dimension information.
Step 220: and determining the quantity of the metric parameters in the metric information.
Step 222: and determining a highlight class, distribution class or progress class chart under the condition that the number of the measurement parameters is one.
Step 224: determining a highlight class chart or a correlation class chart under the condition that the number of the measurement parameters is at least two.
Step 226: the target item data includes metric information and includes dimension information.
Step 228: it is determined whether the target dimension parameter is included, if yes, step 230 is performed, and if not, step 232 is performed.
Step 230: a trend class chart or a geography class chart is determined.
Step 232: it is determined whether an enumeratable dimension is included, if so, step 234 is performed, and if not, step 236 is performed.
Step 234: and determining a comparison proportion class chart.
Step 236: a emphasis class graph is determined.
Step 238: and generating and displaying a target display chart according to the dimension information and/or the measurement information of the target project data and the display chart type.
Corresponding to the data visualization display method embodiment, the present specification further provides an embodiment of a data visualization display device, and fig. 3 shows a schematic structural diagram of a data visualization display device provided in an embodiment of the present specification. As shown in fig. 3, the apparatus includes:
a receiving module 302 configured to receive visualization instructions for target project data;
a statistics module 304 configured to count dimensional metric information of the target project data in response to the visualization instructions;
a determining module 306, configured to determine, according to the dimension metric information, a display chart type corresponding to the target item data in a preset information display correspondence table;
a presentation module 308 configured to generate and present a target presentation chart according to the dimension metric information and the presentation chart type.
Optionally, the statistic module 304 is further configured to:
counting dimension information and/or metric information of the target project data in response to the visualization instructions;
and determining whether the target item data comprises the dimension information or not according to the dimension information under the condition that the target item data comprises the dimension information.
Optionally, the statistic module 304 is further configured to:
counting the number of the dimension values of the dimension information;
judging whether the number of the dimension values is larger than a preset threshold value or not;
if yes, determining that the target item data comprises non-enumeratable dimensions;
if not, determining that the target item data comprises the enumeratable dimension.
Optionally, the determining module 306 is further configured to:
determining a target type of the target project data according to the dimension information and/or the metric information of the target project data;
and determining the display chart type corresponding to the target type in a preset information display corresponding table.
Optionally, the determining module 306 is further configured to:
determining that the target project data is of a first target type if the target project data includes the dimension information and does not include the metric information;
determining that the target project data is of a second target type if the target project data includes the metric information and does not include the dimension information;
determining that the target project data belongs to a third target type if the target project data includes the dimension information and the metric information.
Optionally, the target project data belongs to a first target type;
the determining module 306, further configured to:
judging whether the dimension information comprises a target dimension parameter or not;
if yes, determining a trend chart or a geography chart corresponding to the first target type according to a preset information display corresponding table;
if not, judging whether the dimension information comprises the enumeratable dimensions;
if yes, determining a proportion chart corresponding to the first target type according to a preset information display corresponding table;
if not, determining that the first target type corresponds to the detail type chart according to a preset information display corresponding table.
Optionally, the target project data belongs to a second target type;
the determining module 306, further configured to:
determining the quantity of metric parameters in the metric information;
under the condition that the number of the measurement parameters is one, determining a highlight class chart, a distribution class chart and/or a progress class chart corresponding to the second target type according to a preset information display corresponding table;
and under the condition that the number of the measurement parameters is at least two, determining a corresponding emphasized class diagram and/or a related class diagram of the second target type according to a preset information display corresponding table.
Optionally, the target project data belongs to a third target type;
the determining module 306, further configured to:
judging whether the dimension information comprises a target dimension parameter or not;
if yes, determining a trend chart or a geography chart corresponding to the third target type according to a preset information display corresponding table;
if not, judging whether the dimension information comprises the enumeratable dimensions;
if so, determining that the third target type corresponds to a comparison chart and/or a proportion chart according to a preset information display corresponding table;
if not, determining that the third target type corresponds to the forced type chart according to a preset information display corresponding table.
Optionally, the display chart type comprises at least two display chart subtypes;
the presentation module 308, further configured to:
determining a target presentation chart subtype and at least one candidate presentation chart subtype among the at least two presentation chart subtypes;
generating and displaying a target display sub-chart according to the dimension measurement information and the target display chart subtype;
and generating and displaying at least one candidate display sub-chart according to the dimension measurement information and the at least one candidate display chart subtype.
Optionally, the apparatus further comprises:
a switching instruction receiving module configured to receive a chart switching instruction;
a switching module configured to determine a new target presentation sub-chart among the at least one candidate presentation sub-chart in response to the chart switching instruction.
According to the data visualization display device provided by the embodiment of the specification, the target project data are determined according to the preconfigured information display correspondence table according to the dimension measurement information of the target project data, the display chart type is automatically matched according to the common use scene in the analysis field, the display chart is generated, a user does not need to have more professional knowledge, the threshold of data visualization display is reduced, the efficiency of generating the data visualization chart by the user is improved, and the use experience of the user is improved.
Secondly, the method provided by the embodiment of the specification can also provide various charts for the user to select, the user can also perform targeted adjustment on the charts, meanwhile, the adjustment instruction of the user is recorded, user preference information is generated, more personalized charts are provided for the user in the follow-up process, and the user experience is further improved.
The above is a schematic scheme of the data visualization display device of this embodiment. It should be noted that the technical solution of the data visualization display apparatus and the technical solution of the data visualization display method belong to the same concept, and details of the technical solution of the data visualization display apparatus, which are not described in detail, can be referred to the description of the technical solution of the data visualization display method.
FIG. 4 illustrates a block diagram of a computing device 400 provided according to an embodiment of the present description. The components of the computing device 400 include, but are not limited to, a memory 410 and a processor 420. Processor 420 is coupled to memory 410 via bus 430 and database 450 is used to store data.
Computing device 400 also includes access device 440, access device 440 enabling computing device 400 to communicate via one or more networks 460. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. The access device 440 may include one or more of any type of network interface (e.g., a Network Interface Card (NIC)) whether wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the above-described components of computing device 400, as well as other components not shown in FIG. 4, may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 4 is for purposes of example only and is not limiting as to the scope of the present description. Those skilled in the art may add or replace other components as desired.
Computing device 400 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), mobile phone (e.g., smartphone), wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 400 may also be a mobile or stationary server.
Wherein, the processor 420 implements the steps of the data visualization display method when executing the computer instructions.
The above is an illustrative scheme of a computing device of the present embodiment. It should be noted that the technical solution of the computing device and the technical solution of the data visualization display method belong to the same concept, and details that are not described in detail in the technical solution of the computing device can be referred to the description of the technical solution of the data visualization display method.
An embodiment of the present specification further provides a computer readable storage medium, which stores computer instructions, and when the computer instructions are executed by a processor, the computer instructions implement the steps of the data visualization presentation method as described above.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium and the technical solution of the data visualization display method belong to the same concept, and for details that are not described in detail in the technical solution of the storage medium, reference may be made to the description of the technical solution of the data visualization display method.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of acts, but those skilled in the art should understand that the present embodiment is not limited by the described acts, because some steps may be performed in other sequences or simultaneously according to the present embodiment. Further, those skilled in the art should also appreciate that the embodiments described in this specification are preferred embodiments and that acts and modules referred to are not necessarily required for an embodiment of the specification.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present specification disclosed above are intended only to aid in the description of the specification. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the embodiments and the practical application, to thereby enable others skilled in the art to best understand and utilize the embodiments. The specification is limited only by the claims and their full scope and equivalents.

Claims (13)

1. A data visualization display method comprises the following steps:
receiving visualization instructions for target project data;
counting dimension metric information of the target project data in response to the visualization instruction;
determining a display chart type corresponding to the target project data in a preset information display corresponding table according to the dimension measurement information;
and generating and displaying a target display chart according to the dimension measurement information and the display chart type.
2. The data visualization presentation method of claim 1, the counting dimensional metric information of the target project data in response to the visualization instructions, comprising:
counting dimension information and/or metric information of the target project data in response to the visualization instructions;
and determining whether the target item data comprises the dimension information or not according to the dimension information under the condition that the target item data comprises the dimension information.
3. The data visualization presentation method of claim 2, wherein the determining whether the target item data includes an enumerable dimension according to the dimension information comprises:
counting the number of the dimension values of the dimension information;
judging whether the number of the dimension values is larger than a preset threshold value or not;
if yes, determining that the target item data comprises non-enumeratable dimensions;
if not, determining that the target item data comprises the enumeratable dimension.
4. The data visualization display method according to claim 2, wherein the determining, according to the dimension metric information, a display chart type corresponding to the target item data in a preset information display correspondence table includes:
determining a target type of the target project data according to the dimension information and/or the metric information of the target project data;
and determining the display chart type corresponding to the target type in a preset information display corresponding table.
5. The data visualization presentation method of claim 4, the determining a target type of the target project data according to the dimension information and/or the metric information of the target project data, comprising:
determining that the target project data is of a first target type if the target project data includes the dimension information and does not include the metric information;
determining that the target project data is of a second target type if the target project data includes the metric information and does not include the dimension information;
determining that the target project data belongs to a third target type if the target project data includes the dimension information and the metric information.
6. The data visualization presentation method of claim 5, wherein the target project data is of a first target type;
determining a display chart type corresponding to the target type in a preset information display corresponding table, wherein the method comprises the following steps:
judging whether the dimension information comprises a target dimension parameter or not;
if yes, determining a trend chart or a geography chart corresponding to the first target type according to a preset information display corresponding table;
if not, judging whether the dimension information comprises the enumeratable dimensions;
if yes, determining a proportion chart corresponding to the first target type according to a preset information display corresponding table;
if not, determining that the first target type corresponds to the detail type chart according to a preset information display corresponding table.
7. The data visualization presentation method of claim 5, wherein the target project data is of a second target type;
determining a display chart type corresponding to the target type in a preset information display corresponding table, wherein the method comprises the following steps:
determining the quantity of metric parameters in the metric information;
under the condition that the number of the measurement parameters is one, determining a highlight class chart, a distribution class chart and/or a progress class chart corresponding to the second target type according to a preset information display corresponding table;
and under the condition that the number of the measurement parameters is at least two, determining a corresponding emphasized class diagram and/or a related class diagram of the second target type according to a preset information display corresponding table.
8. The data visualization presentation method of claim 5, the target project data being of a third target type;
determining a display chart type corresponding to the target type in a preset information display corresponding table, wherein the method comprises the following steps:
judging whether the dimension information comprises a target dimension parameter or not;
if yes, determining a trend chart or a geography chart corresponding to the third target type according to a preset information display corresponding table;
if not, judging whether the dimension information comprises the enumeratable dimensions;
if so, determining that the third target type corresponds to a comparison chart and/or a proportion chart according to a preset information display corresponding table;
and if not, determining that the third target type corresponds to the emphasis class chart according to a preset information display corresponding table.
9. The data visualization presentation method of any one of claims 1-8, wherein the presentation chart type comprises at least two presentation chart sub-types;
generating and displaying a target display chart according to the dimension measurement information and the display chart type, wherein the generating and displaying of the target display chart comprises the following steps:
determining a target presentation chart subtype and at least one candidate presentation chart subtype among the at least two presentation chart subtypes;
generating and displaying a target display sub-chart according to the dimension measurement information and the target display chart subtype;
and generating and displaying at least one candidate display sub-chart according to the dimension measurement information and the at least one candidate display chart subtype.
10. The data visualization presentation method of claim 9, the method further comprising:
receiving a chart switching instruction;
determining a new target presentation sub-chart among the at least one candidate presentation sub-chart in response to the chart switching instruction.
11. A data visualization display device, comprising:
a receiving module configured to receive visualization instructions for target project data;
a statistics module configured to count dimensional metric information of the target project data in response to the visualization instructions;
the determining module is configured to determine a display chart type corresponding to the target item data in a preset information display corresponding table according to the dimension measurement information;
and the display module is configured to generate and display a target display chart according to the dimension measurement information and the display chart type.
12. A computing device comprising a memory, a processor, and computer instructions stored on the memory and executable on the processor, the processor implementing the steps of the method of any one of claims 1-10 when executing the computer instructions.
13. A computer-readable storage medium storing computer-executable instructions which, when executed by a processor, implement the steps of the method of any one of claims 1-10.
CN202110484576.XA 2021-04-30 2021-04-30 Data visualization display method and device Pending CN113343038A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110484576.XA CN113343038A (en) 2021-04-30 2021-04-30 Data visualization display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110484576.XA CN113343038A (en) 2021-04-30 2021-04-30 Data visualization display method and device

Publications (1)

Publication Number Publication Date
CN113343038A true CN113343038A (en) 2021-09-03

Family

ID=77469421

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110484576.XA Pending CN113343038A (en) 2021-04-30 2021-04-30 Data visualization display method and device

Country Status (1)

Country Link
CN (1) CN113343038A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086692A (en) * 2021-11-25 2022-09-20 北京达佳互联信息技术有限公司 User data display method, device, apparatus, storage medium and program product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598988A (en) * 2015-10-16 2017-04-26 阿里巴巴集团控股有限公司 Data processing method and device
CN109947857A (en) * 2017-07-26 2019-06-28 北京国双科技有限公司 Method for exhibiting data and device, storage medium, processor
CN110309208A (en) * 2018-03-01 2019-10-08 阿里巴巴集团控股有限公司 The implementation method and device of data visualization
CN110888974A (en) * 2019-11-28 2020-03-17 苏州思必驰信息科技有限公司 Data visualization method and device
CN111125560A (en) * 2018-10-31 2020-05-08 阿里巴巴集团控股有限公司 Data visualization processing method and device and computer system
CN112307109A (en) * 2020-10-28 2021-02-02 北京锐安科技有限公司 Visual chart generation method and device, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598988A (en) * 2015-10-16 2017-04-26 阿里巴巴集团控股有限公司 Data processing method and device
CN109947857A (en) * 2017-07-26 2019-06-28 北京国双科技有限公司 Method for exhibiting data and device, storage medium, processor
CN110309208A (en) * 2018-03-01 2019-10-08 阿里巴巴集团控股有限公司 The implementation method and device of data visualization
CN111125560A (en) * 2018-10-31 2020-05-08 阿里巴巴集团控股有限公司 Data visualization processing method and device and computer system
CN110888974A (en) * 2019-11-28 2020-03-17 苏州思必驰信息科技有限公司 Data visualization method and device
CN112307109A (en) * 2020-10-28 2021-02-02 北京锐安科技有限公司 Visual chart generation method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086692A (en) * 2021-11-25 2022-09-20 北京达佳互联信息技术有限公司 User data display method, device, apparatus, storage medium and program product

Similar Documents

Publication Publication Date Title
Chen et al. Visualizing market structure through online product reviews: Integrate topic modeling, TOPSIS, and multi-dimensional scaling approaches
US10565525B2 (en) Collaborative filtering method, apparatus, server and storage medium in combination with time factor
EP3893154A1 (en) Recommendation model training method and related apparatus
US20150213042A1 (en) Search term obtaining method and server, and search term recommendation system
CN103678647A (en) Method and system for recommending information
CN111814065B (en) Information propagation path analysis method and device, computer equipment and storage medium
CN108665347A (en) Products Show method, apparatus, equipment and storage medium based on user demand
TWI690172B (en) Information push method, location positioning method and equipment
CN113343038A (en) Data visualization display method and device
CN111340455A (en) Method, device and equipment for automatically generating data analysis result and storage medium
CN113836360A (en) Data detection method and device
CN109325015B (en) Method and device for extracting characteristic field of domain model
CN108428138A (en) A kind of client's survival Analysis device and analysis method based on customer grouping
CN116955817A (en) Content recommendation method, device, electronic equipment and storage medium
CN111143546A (en) Method and device for obtaining recommendation language and electronic equipment
US20190236625A1 (en) Arrangement and method for digital media measurements involving user panels
KR20220168261A (en) User interesting topic forming method automatically through social big-data analysis
CN113065894A (en) Data collection method and device based on user portrait and order analysis and storage medium
CN110968291A (en) Method and device for adjusting application program function menu based on optimal tree
EP4123548A1 (en) Information processing device for generating changed advertising content
CN111796988B (en) Big data information monitoring method and device and computer equipment
CN114281649A (en) Program performance determination method, device and storage medium
KR20170057179A (en) Method for evaluating relation between keyword and asset value and Apparatus thereof
CN108319449B (en) Application program architecture determining method and device
CN111124836A (en) Program log recording method and device

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40068738

Country of ref document: HK

TA01 Transfer of patent application right

Effective date of registration: 20240306

Address after: # 03-06, Lai Zan Da Building 1, 51 Belarusian Road, Singapore

Applicant after: Alibaba Innovation Co.

Country or region after: Singapore

Address before: Room 01, 45th Floor, AXA Building, 8 Shanton Road, Singapore

Applicant before: Alibaba Singapore Holdings Ltd.

Country or region before: Singapore

TA01 Transfer of patent application right