Generating charts from data in data table
By parsing the data table and applying rules or machine learning models, a list of chart suggestions is generated, which solves the problem of long time and low efficiency when generating charts for users, realizes automatic identification of data relationships and patterns, and improves the efficiency and user experience of chart generation. .
Patent Information
- Application Number
- CN202311141102.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2017-09-28
- Filing Date
- 2017-09-29
- Publication Date
- 2024-08-30
AI Technical Summary
When generating charts with the existing technology, users need to spend a lot of time analyzing data to identify relationships and patterns between data, and the generated charts may not be appropriate enough, resulting in slow processing speed and high network bandwidth usage.
By parsing the cells of the data table, identifying columns and data types, performing statistical analysis, applying rules or machine learning models, and generating a list of chart suggestions, users can directly select the appropriate chart type to improve processing speed and network efficiency.
Automatically identify relationships and patterns in data tables, generate charts that users are unaware of, improve chart generation efficiency and user experience, and reduce network load.
Smart Images

Figure CN118569224A_ABST
Abstract
Description
[0001] Description of the case
[0002] This application is a divisional application of Chinese invention patent application No. 201780052216.4, filed on September 29, 2017. Technical Field
[0003] Aspects and implementations of the present disclosure relate to an electronic document, and more particularly, to generating a chart from data in a data table. Background Art
[0004] A data table in a database, spreadsheet document, word processing document, slide document, etc. may include many cells containing data. A user may desire to visualize the data in a more meaningful way than in a data table. For example, some spreadsheet applications allow a user to create components (e.g., charts or graphs) of the data in the spreadsheet based on selections made by the user of data from a data table in the spreadsheet. Such chart creation methods include receiving instructions from a user for selecting a subset of the data from the spreadsheet and a selected component (such as a chart) for representing the selected subset of the data. In order to create a chart, the user must analyze the data in the spreadsheet to identify relationships in the data and decide on the best way to represent the identified relationships. Summary of the invention
[0005] Aspects and implementations of the present disclosure improve data representation techniques by generating a list of chart suggestions including one or more generated charts based on a data table. Cells of a data table may be parsed to identify columns and cell data types in the data table. Statistical analysis may be performed on the data table to obtain one or more statistics about columns in the data table. Suggested charts may be created based at least on the statistics and the cell data types. In some implementations, one or more rules or machine learning models may be applied to the data table to identify relationships between data groups, to score various chart types, additional data tables, and / or generated charts based on a number of factors, and / or to generate suggested chart types.
[0006] Suggested charts can clarify relationships and / or patterns in a data table that a user may not initially be aware of. Suggested charts can be created using a subset of the data in a data table, which can increase the processing speed of generating charts and / or reduce network traffic by sending charts generated using only a subset of the data table rather than the entire data table. Suggested charts can be included in a chart suggestion list, which is displayed in a first portion of a user interface while the data table is simultaneously displayed in a second portion of the user interface. Therefore, an improved graphical user interface can be provided that conveniently displays suggested charts in a chart suggestion list simultaneously with the data table, and allows a user to directly select a suggested chart from the chart suggestion list and insert it into an electronic document containing the chart. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] The various aspects and implementations of the present disclosure will be more fully understood based on the detailed description given below and based on the accompanying drawings of the various aspects and implementations of the present disclosure, which should not be considered as limiting the present disclosure to specific aspects or implementations, but are only for illustration and understanding.
[0008] Figure 1 An example of a system architecture is illustrated for an implementation of the present disclosure.
[0009] Figure 2 An example of a list of chart suggestions generated based on data in a data table is shown in accordance with an illustrative implementation.
[0010] Figure 3 An example of a list of chart suggestions generated based on a user's selection of data in a data table according to an illustrative document is illustrated.
[0011] Figure 4 A flow chart depicting aspects of a method for generating a list of chart suggestions from data in a data table according to one implementation of the present disclosure.
[0012] Figure 5 A flow chart depicting aspects of a method for scoring a generated chart using one or more rules to generate a list of chart suggestions according to one implementation of the present disclosure.
[0013] Figure 6 An example of an aggregate table generated from data present in a data table is illustrated according to an illustrative implementation.
[0014] Figure 7 An example of a set of faceted charts generated from data present in a data table is illustrated in accordance with an illustrative implementation.
[0015] Figure 8A flow chart depicting aspects of a method for generating a list of chart suggestions from data in an additional data table generated from an initial data table according to one implementation of the present disclosure.
[0016] Fig. 9 A flow diagram of a method for receiving additional data from a collaborating user and generating a second list of chart suggestions including a chart based on the additional data is depicted in accordance with an illustrative implementation.
[0017] Fig.10 A block diagram depicts an example computing system that operates in accordance with one or more aspects of the present disclosure. DETAILED DESCRIPTION
[0018] Traditionally, generating a chart may include a user analyzing data in a data table to determine how the various data in the data table are related to each other or to determine various patterns in the data. Then, the user can select which (or which) components (e.g., charts, graphs, etc.) can suitably represent the desired data. However, the analysis and selection of components may require a lot of effort on the part of the user and may cause the user to miss important subtle relationships or patterns in the data. In addition, the user may select a larger portion of data than that required for appropriately representing the desired relationship or pattern with the component. In this case, when a component based on a large data set is delivered to a user device via a network, the processing speed of the computing device may be slowed down and / or the network bandwidth may be adversely affected by generating a component with a large data set.
[0019] Aspects and implementations of the present disclosure are directed to a collaborative document system that addresses at least these deficiencies by generating a list of chart suggestions that includes one or more charts generated from data in a data table. Although a list of chart suggestions is mentioned herein, it should be understood that any suitable graphical component (e.g., a graphic) for visualizing data may be generated and provided in a component suggestion list. The implementations disclosed herein may be applied to any suitable data structure including a tabular format (e.g., rows and columns) to generate a chart in a list of chart suggestions. For example, one such data structure may include a data table included in a data store, a word processing document, a slide document, a spreadsheet document, or the like. In addition, although a collaborative document system is described as implementing the disclosed technology throughout the remainder of the present disclosure, it should be noted that any suitable system or application (e.g., a standalone application installed on a user device) that can access a data table may generate one or more charts based on the data table for the list of chart suggestions.
[0020] The collaborative document system can allow the electronic document owner to invite other users to join as collaborators on the electronic documents stored in the cloud-based environment. Electronic documents refer to media content used in electronic form. Media content can include text, data tables, videos, images, graphics, slides, charts, software programming codes, designs, lists, plans, blueprints, maps, etc. The electronic documents that users have been granted for simultaneous access and / or editing permission can be referred to as collaborative documents in this article. Collaborative documents can be provided to the user devices of collaborators through one or more servers in the cloud-based environment. Each collaborator can be associated with a user type (e.g., editor, commentator, viewer, etc.). Different views and capabilities can be provided to collaborators based on their user type to enable editing collaborative documents, commenting on collaborative documents, replying to them, or simply viewing collaborative documents. Once permission to access collaborative documents is granted, collaborators can access collaborative documents to perform operations allowed by their user type.
[0021] Using the collaborative document system, a user can create or open a collaborative document and share the collaborative document with one or more collaborators. A collaborative document may include a data table with rows and columns with column headers. The data table may also include multiple cells storing data with one or more data types (e.g., numbers, strings, floating point numbers, dates, etc.). In an implementation, the cells of the data table may be parsed to identify one or more columns and one or more data types of the cells. Statistical analysis may be performed on the data table to obtain one or more statistics about the columns in the data table. For example, statistics may include many unique values in each of these columns or data ranges in these columns. In some implementations, additional data tables may be created based on statistics. Additional tables may contain subsets of data and / or data from the transformation (e.g., aggregation, summation, average, etc.) of the initial data table. One or more suggested charts may be created using the initial data table and / or additional data tables.
[0022] In some implementations, rules may be applied to a data table (e.g., an initial data table, an additional data table, etc.) to identify relationships between groups of data (e.g., at least two columns of data) in the data table (e.g., a correlation between two column headers, a correlation between values of two columns, etc.). The rules may define how possible chart types for a data table or a generated chart are scored to indicate the extent to which a specific chart type or generated chart is able to present data from the data table. The rules may provide correlations between specific scores or score ranges and factors such as statistics, cell data types, identified relationships, criteria related to available components (e.g., charts, graphs, etc.), etc. In addition, the rules may require that chart types or generated charts with scores above a minimum threshold be presented to the user, and that other chart types and generated charts be discarded. In another implementation, statistics and cell data types may be applied as inputs to a machine learning model that is trained to generate one or more chart types for a data table. The chart types provided by the rules and / or machine learning model may be used to create a suggested chart that includes at least a subset of the data from the data table. The suggested chart may be included in a list of chart suggestions. The list of chart suggestions may be displayed in a first portion of a user interface provided by the collaboration system, and the data table may be simultaneously displayed in a second portion of the user interface.
[0023] The created chart can represent certain subsets of data in interesting ways that the user himself may not have imagined. For example, by parsing cells and determining the data type of the cell, statistics about the column, and / or identifying the relationship between the data groups, the pattern in the data set can be automatically identified without any user participation. In addition, the disclosed technology can improve the processing speed by selecting a smaller subset of the data to be used when creating a chart, selecting a chart that processes specific data more efficiently, etc. For example, in some implementations, the data in the data table can be transformed by aggregation, summation, or averaging, which can reduce the number of rows to be represented in the chart. In addition, charts that meet certain criteria can be selected in some implementations, which can improve the processing speed of generating charts. In addition, an enhanced graphical user interface that displays a data table and a list of chart suggestions at the same time can be provided. Without the need to switch between different screens, windows, or user interfaces, the user can directly select a chart from a list of chart suggestions to be included in a collaborative document.
[0024] Figure 11 is an example of a system architecture 100 for implementations of the present disclosure. The system architecture 100 includes a cloud-based environment 110 connected to user devices 140A-140Z via a network 130. Although the system architecture 100 is described in the context of the cloud-based environment 110, it should be understood that the implementations described herein may also be applicable to locally interconnected systems, and the system architecture 100 may enable servers 112A-112Z in the cloud-based environment 110 to communicate with each other and communicate with user devices 140A-140Z via the network 130 to store and share data. The cloud-based environment 110 refers to a collection of physical machines that host applications that provide one or more services (e.g., for chart generation included in a chart suggestion list) to multiple user devices 140A-140Z via the network 130. The network 130 may be a public network (e.g., the Internet), a private network (e.g., a local area network (LAN) or a wide area network (WAN)), or a combination thereof. The network 130 may include a wireless infrastructure that may be provided by one or more wireless communication systems, such as wireless carrier systems that can be implemented using various data processing devices, communication towers, etc., and / or Wireless Fidelity (WiFi) hotspots connected to the network 130. Additionally or alternatively, the network 130 may include a wired infrastructure (e.g., Ethernet).
[0025] The cloud-based environment 110 may include one or more servers 112A-112Z, a statistics engine 114, a training engine 116, and / or a data store 118. The statistics engine 114, the training engine 116, and / or the data store 118 may be isolated from and communicatively coupled to the servers 112A-112Z, or the statistics engine 114, the training engine 116, and / or the data store 118 may be part of one or more of the servers 112A-112Z. The data store 118 may store a data table 120, which may include data in cells arranged by rows and columns with column headers. The data store 118 may also include a collaborative document of which the data table 120 is a part. The collaborative document may be a spreadsheet document, a slide document, a word processing document, or any suitable electronic document (e.g., an electronic document including text, a data table, a video, an image, a graphic, a slide, a chart, software programming code, a design, a list, a plan, a blueprint, a map, etc.) that can be shared with a user.
[0026] A collaborative document including a data table 120 can be created by an author and the author can share the collaborative document with other users (e.g., collaborators). Sharing a collaborative document can refer to granting other users permission to access (view and / or edit) the collaborative document. Sharing a collaborative document can include notifying other users of the collaborative document via a message (e.g., email, text message, etc.) including a link to the collaborative document. The level of permission granted to each user can be based on the user type of each specific user. For example, a user with an editor user type can be able to open a collaborative document and make changes to the collaborative document directly. Therefore, many collaborators can make changes to the data table 120 presented in the collaborative document.
[0027] The statistical engine 114 and / or the training engine 116 may include one or more processing devices, such as computers, microprocessors, logic devices, or other devices or processors configured with hardware, firmware, and software to perform some of the embodiments described herein. The statistical engine 114 may be used to parse the cells of the data table 120 and identify the data types of one or more columns, column headers, and / or cells. The statistical engine 114 may determine one or more statistics 121 about the columns in the data table 120. For example, the statistics 121 may include an aggregation of unique values in each column. Aggregation may refer to a calculation performed on the data to reveal information about the data. The statistics 121 may also include the range of values in each of these columns, the distribution of the data (e.g., whether the data values are randomly distributed or distributed in a trend (increasing / decreasing) manner), the number of rows in the data table 120, and the like.
[0028] The training engine 116 may include annotated charts 122 used as training data by the training engine 116. The machine learning model 123 may refer to a model artifact created by the training engine 116 using training inputs and corresponding target outputs. The training input may include an annotated chart 122, and the corresponding target output may include a suggested chart type for the corresponding training input, an additional generated table, or a suggested chart generated based on the training input. The annotated chart 122 may include a used training data table and a resulting chart created based on the training data table. In addition, the annotated chart 122 may be manually annotated by a developer or user. In some implementations, these annotated charts 122 may include annotations for marking various columns and data sets in the training data table. In some implementations, the target output of the trained machine learning model 123 may also include scores for suggested chart types, additional generated tables, and / or generated suggested charts to indicate how well they reflect interesting relationships and / or statistics, etc.
[0029] The annotation may include certain relationships between annotated columns of the training data table. For illustration, in a training data table including sales data, the annotation may indicate a relationship designated for visualization (e.g., between a column header "sales volume" and a column header "sales region"). In another example, the annotation may indicate a dependency relationship in which there is a correlation between the values of two or more columns (e.g., the date column increases with the value of the sales column). In some implementations, the relationship between different columns may be dynamically determined based on the column header and the group header. For example, if the training data table contains separate headers such as "sales volume", "sales region", etc., there may also be group headers for each year (e.g., 2016, 2017, etc.). Separate headers may be repeated / shared across groups, so the relationship between sales information for each year may be determined. In some implementations, the annotation may be a statistic associated with a column (e.g., aggregation, summation, average, etc.) and may indicate a preferred chart type (e.g., bar, line, pie, area, scatter plot, column, etc.) for representing a training data table with a column having a specific statistic. In some implementations, the annotations may be for correlations between values having certain data types in columns. For example, the annotation may indicate a preferred chart type for a combination of columns in which data values having a date data type of a first column are increased and data values having a numeric data type of a second column are also increased (e.g., when sales accumulate over time), or may indicate another preferred chart type for a combination of columns in which data values of one column are increased (e.g., date) and data values of another column are decreased (e.g., inventory). In some implementations, the annotation may indicate whether the chart can be faceted. Once trained, the machine learning model 123 may be applied to a new data table 120 (including, for example, statistics 121 and data types of cells) to obtain one or more suggested chart types for the new data table. In some implementations, the machine learning model 123 may output suggested charts for inclusion in a list of chart suggestions.
[0030] The servers 112A-112Z may be physical machines (e.g., server machines, desktop computers, etc.) that each include one or more processing devices communicatively coupled to a memory device and an input / output (I / O) device. Each of the servers 112A-112Z may host a chart generation module (124A-124Z). The chart generation modules 124A-124Z may be implemented as computer instructions that may be executed by one or more processing devices on each of the servers 112A-112Z. In some implementations, the statistical engine 114 may be implemented as computer instructions and included as part of the chart generation modules 124A-124Z. The chart generation modules 124A-124Z may create various suggested charts for the data in the data table 120 based in part on the statistics 121 about one or more columns and one or more data types of the cells. Each of the suggested charts created may represent at least a subset of the data in the data table 120.
[0031] In some implementations, the chart generation modules 124A-124Z may use one or more rules 125A-125Z to create the suggested charts. The rules 125A-125Z may be predefined by a developer, and the rules may be applied to the data table 120 to identify relationships between groups of data in the data table 120. In some implementations, a relationship may refer to data in the data table 120 that fits a certain model (e.g., linear, logarithmic, etc.). For example, a relationship may include a correlation between data having certain data types and values in a column of the data table 120. In some implementations, a relationship may refer to a correlation between at least two column headers (e.g., "sales volume" and "sales region") in the data table 120, etc. The rules 125A-125Z may also specify whether certain charts may be faceted.
[0032] In some implementations, the rules 125A-125Z may define how to combine the columns of the data table 120 in various permutations to create a set of suggested charts based on the identified relationship between at least two columns, the statistics 121 about the columns, the data types of the cells, and / or any other suitable factors. The rules 125A-125Z may be used to score the created suggested charts as described above. The rules 125A-125Z may require that suggested charts with scores above a minimum threshold be provided to the user, while charts with scores below the minimum threshold are discarded.
[0033] In some implementations, rules 125A-125Z can define how to score possible chart types that can be used for data table 120 based on the identified relationship between at least two columns, statistics 121 about the columns, data types of cells, and / or any other suitable factors, and generate one or more chart types with scores above a minimum threshold while discarding chart types with scores below the minimum threshold. For example, if the first column of data table 120 has a date data type and the dates appear in sequence, the factor can cause the score of a line chart to increase. If the second column in data table 120 has a numeric data type and the numbers are distributed in a non-random manner (e.g., they are increasing or decreasing), the factor can also cause the score of a line chart to increase. The two factors combined can cause the score of a line chart to increase. In another example, if the data range of the column indicates that there are negative numbers, the factor can cause the score of a pie chart to decrease. In another example, if there are a large number of unique values in the column, the factor can cause the score of a pie chart to decrease because there will be too many slices in the pie chart and the pie chart may be difficult to read. In another example, if there are a large number of rows in the data table 120, this factor can result in a reduced score for a bar chart because the bars may be too thin and close together to be read coherently. In yet another example, if both columns have a numeric data type, and generally speaking, when the value in one column is higher, the value in the other column is also higher, there may be a correlation between the values in the columns and the score for the scatter plot may be high. In some implementations, rules 125A-125Z may define how to score possible additional tables generated based on the initial data table. For example, an aggregate data table may be generated using the individual columns in the initial data table and rules 125A-125Z may define that the highest score is assigned to an aggregate data table generated using the column with the least unique values.
[0034] The chart generation modules 124A-124Z may use the machine learning model 123 and / or the rules 125A-125Z to determine a chart type and create a suggested chart based on the chart type. The chart generation modules 124A-124Z may also generate a chart suggestion list including the suggested charts. In some embodiments, the suggested charts may be sorted based on a rating and / or diversity criterion. The diversity criterion may be used to ensure that similar types of charts depicting similar data relationships are not arranged next to each other in the chart suggestion list to ensure that a variety of data is presented.
[0035] In some implementations, additional data tables can be generated from data table 120. Additional tables can be generated from the initial data table based on statistics 121. For example, an aggregate table can be generated that includes the sum of unique values in a column in data table 120. There can be other aggregation formulas for generating aggregate tables. For example, an aggregation formula can calculate an average aggregate on the information in data table 120. In addition, transformations such as summation, aggregation, or averaging can be applied to the data values in other columns to produce transformed data associated with the selected column. Thus, additional tables can include subsets of data from the initial data table, as well as a reduced set of transformed data. Aggregate tables can be used to generate facets of data. In Figure 6 and Figure 7 Both aggregate tables and facets are discussed in more detail in . Using additional tables to generate charts can result in providing interesting charts to users and improve processing efficiency by using smaller data sets to generate charts.
[0036] One or more of the servers 112A-112Z may provide a collaborative document environment 142A-142Z to the user devices 140A-140Z. The servers 112A-112Z selected to provide the collaborative document environment 142A-142Z may be based on certain load balancing techniques, service level agreements, performance indicators, etc. The collaborative document environment 142A-142Z may provide a user interface 144A-144Z that displays the data table 120 in a first portion and simultaneously displays a list of chart suggestions in a second portion. The collaborative document environment 142A-142Z may enable users using different user devices 140A-140Z to simultaneously access a collaborative document including a data table 120 and / or a list of chart suggestions to review, edit, view, and / or propose changes to the data table 120 and / or the list of chart suggestions in the corresponding user interfaces 144A-144Z. In an implementation, the user interfaces 144A-144Z may be web pages presented by a web browser and displayed in a web browser window on the user devices 140A-140Z. In another implementation, the user interfaces 144A-144Z may be included in a separate application downloaded to the user devices 140A-140Z.
[0037] The user equipment 140A-140Z may include one or more processing devices that are communicatively coupled to the memory device and the I / O device. The user equipment 140A-140Z may be a desktop computer, a laptop computer, a tablet computer, a mobile phone (e.g., a smart phone), or any suitable computing device. The user equipment 140A-140Z may include components such as input devices and output devices. The user may authenticate with the server 112A-112Z by entering a username and password (or providing other identification information) via the user interface 144A-144Z, so that the same user equipment 140A-140Z may be used by different users at different times. In some implementations, the statistical engine 114, the training engine 116, the data storage 118, and / or the chart generation module 124A-124Z may be part of the user equipment 140A-140Z.
[0038] Figure 2 An example of a chart suggestion list 200 generated based on data in a data table 120 according to an illustrative implementation is shown. The chart suggestion list 200 is presented in a first portion of a user interface 144A of a collaborative document environment 142A, which also simultaneously displays the data table 120 in a second portion of the user interface 144A. In the depicted example, the data table 120 is included in a collaborative spreadsheet document. The content in the collaborative spreadsheet document may include any one or more of a data table, a chart, a graph, a visual component, text, an image, a video, an audio clip, programming source code, or any other suitable type of content. In some implementations, the collaborative spreadsheet document may have at least two columns of data inserted into the data table 120 by a user.
[0039] Data in a data table 120 of a collaborative spreadsheet document can be parsed to determine statistics between columns in the spreadsheet and data types of cells of the data table 120. In some implementations, the data table 120, the statistics, and the data types can be input into a machine learning model 123, which is trained to generate suggested chart types. In some implementations, rules can be applied to the data table based on at least the statistics and the data types of the cells to generate suggested chart types that receive a score above a minimum threshold. The rules can also be used to identify a relationship between at least two columns in the data table 120, and the suggested chart types can be selected based on the identified relationship, statistics, data types, prerequisite criteria related to various charts, etc. The chart generation module 124A can use the suggested chart types to create suggested charts for the data table 120 and can generate a chart suggestion list 200 including the suggested charts.
[0040] As reference Figure 3As described in more detail, in some implementations, a user may provide a selection of a subset of the data in the data table 120. The chart generation module 124A may prioritize creating suggested charts for the data in the selected portion first.
[0041] exist Figure 2 , a user or collaborator can insert data from data table 120 in columns F, G, H, and I as shown. After inserting the data, an insight table 204 can be generated after creating one or more suggested charts for data table 120 based on statistics 121 about the columns, one or more identified relationships between at least two columns, data types of cells, prerequisite criteria related to the charts, etc. For example, insight table 204 includes a chart 206 that is a depiction of the relationship determined using rule 125A or machine learning model 123. As depicted, sales data for product "Rx983 Small" is part of data table 120.
[0042] The statistical engine 114 may perform a statistical analysis on the data table 120 and identify the number of unique values for each column Gross Units (F), Return Units (G), Price per Unit (H), and State (I). In particular, the State column includes the least number of unique values (e.g., 3) as compared to the other columns in the data table 120. Additionally, the chart generation module 124A may apply the rules 125A or the machine learning model 123 to identify a relationship between at least two columns in the data table 120. In the depicted example, a relationship between a sales region (which may be a "State" column) and sales information (which may be a combination of the "Gross Units", "Return Units", and / or "Price per Unit" columns) may be identified. The rules 125A or the machine learning model 123 may be used to generate a chart type of a bar chart based on the statistics and / or the identified relationship. Thus, the chart generation module 124A can create a suggested bar chart 206 based on the statistics and / or identified relationships by aggregating the sales information of the products by the “State” column. The suggested bar chart 206 can be displayed in the insight table 204 simultaneously with the data table 120 in the user interface 144A.
[0043] In some implementations, if a user partially selects the suggested bar chart 206 (e.g., by clicking an input device or by hovering over with a cursor), visual indicators may be displayed for cells in the data table 120 that participated in creating the selected chart. For example, the cells may be highlighted. Such visual indicators may provide an enhanced user interface that enables the user to more fully understand what data is being visualized in the suggested bar chart 206. Additionally, the user may directly add the suggested bar chart 206 to the collaborative spreadsheet document by fully selecting (e.g., by double-clicking or holding down an input device).
[0044] There may also be highlights 208 generated in the insight table 204 summarizing the information extracted from the data table 120 and depicted in the suggested bar chart 206. For example, the highlights 208 show that the sales are concentrated in the first two states of the three states where the product was reported to be sold.
[0045] Figure 3 An example of a chart suggestion list 200 generated based on a user's selection of data in a data table 120 according to an illustrative document is illustrated. The data table 120 may be displayed in a user interface 144A of a collaborative spreadsheet document. In particular, as indicated by the highlighting of cells in the data table 120, the user may select a subset of data from the data table 120. The chart generation module 124A may generate one or more suggested charts based on the selected subset of data. For example, the data types of columns present in the selected subset of data may be determined, statistics 121 about columns present in the selected subset of data may be determined, relationships may be identified for at least two column data present in the selected subset of data, and the like. The rules 125A or the machine learning model 123 may be used to generate one or more suggested chart types for the selected subset of data. The chart generation module 124A may generate suggested charts based on the suggested chart types. The insight table 204 that previously displayed suggested charts representing the entire data table 120 may be dynamically updated to show at least one suggested chart representing a subset of data selected by the user.
[0046] For example, as depicted, sales information for the product "Rx983 Small" is depicted in the data table 120. The distribution of the sales information also takes into account the cities where each sale is made. The user has selected a subset of the data in the data table 120 represented by highlight 300. The data types of the cells of the selected subset can be determined, statistics about the columns in the selected subset of data can be determined, the relationship between at least two columns in the selected subset can be identified, and the prerequisite criteria for various charts can be determined in view of the selected subset of data. For example, the relationship between the city and the profit generated by the sale of the product can be identified. The rule 125A or the machine learning model 123 can be used to generate one or more suggested chart types for the selected subset of data based on this information. The chart generation module 124A can create one or more suggested charts based on the one or more suggested chart types for the selected subset of data. For example, as depicted, a suggested bar chart 302 is generated to represent the selected subset of data. A bar chart may be generated using rule 125A or machine learning model 123 because the number of unique values in the "City" column does not exceed the bar chart threshold, and the relationship between the "City" column and "Sales" is identified as a relationship designated for visualization. In other words, a bar chart may be generated because it may be determined to represent the selected subset of data more clearly to the user than other types of charts.
[0047] Additionally, a geographic chart 304 may also be generated by the chart generation module 124A and included in the chart suggestion list 200. The geographic chart 304 may be selected because the selected subset of data includes a column with a column heading of "City." The rule 124A or the machine learning model 123 may be used to determine that a geographic chart may be used to represent data that includes a geographic indicator, such as a city. However, the geographic chart 304 may not have received as high a rating as the bar chart 302 because it does not clearly display profits by city like a bar chart. Therefore, the geographic chart 304 may be displayed in the lower portion of the chart suggestion list 200. The chart generation module 124A may update the chart suggestion list 200 displayed in the insight table 204 to include both the suggested bar chart 302 and the geographic chart 304.
[0048] In some implementations, processing of the data table 120 includes removing data that may not add any value to the relationship identification process or to the statistics determination process. For example, an ID field in a database is a list of unique identifiers for each record in the data table 120, and no inferences may be derived from the ID field. Therefore, the ID field may be redundant for determining meaningful statistics about the columns and / or determining a relationship between at least two columns in the data table 120. In some implementations, processing of the data table 120 may include analyzing the column headers in the data table 120 and the data type for each column to determine the type of data in the column for establishing one or more relationships between the columns in the data table 120.
[0049] Users can Figure 2 and Figure 3 125A or the machine learning model 123. In some implementations, the interaction may be a selection of a suggested chart in the chart suggestion list 200 to be displayed in the collaborative spreadsheet document along with the data table 120. When selected, the suggested chart may be inserted into the collaborative spreadsheet document. In some implementations, once a chart is selected, the user may then proceed to modify the names of different fields, data ranges, or types of charts selected to match personal preferences. In some implementations, the user may close the insight table 204 and not use any insights or charts provided by the insight table 204 and create new charts for relationships not explored by the rules 125A or the machine learning model 123. Any interactions with the suggested bar chart 206 may be recorded and provided to the training engine 116 for updating of the machine learning model 123. For example, if a user selects the suggested bar chart 206, modifies any axis names, fonts, colors, etc., this information may be provided to the training engine 116 so the machine learning model 123 may be updated to produce a chart type that is personally customized and more likely to be selected by the user for similar data. It should be understood that Figure 2 and Figure 3 The user interface 144A depicted in FIG. 1 is for illustrative purposes. The data table 120 and / or suggested charts in the user interface 144A may have less data, more data, or data in a number of different formats.
[0050] Figure 4A flowchart depicting aspects of a method 400 for generating a chart suggestion list 200 from data in a data table 120 according to an implementation of the present disclosure. Each of the method 400 and its individual functions, routines, subroutines, or operations may be performed by one or more processing devices of a computer device executing the method. In certain implementations, the method 400 may be performed by a single processing thread. Alternatively, the method 400 may be performed by two or more processing threads, each of which executes one or more individual functions, routines, subroutines, or operations of the method. In an illustrative example, the processing threads implementing the method 400 may be synchronized (e.g., using semaphores, critical sections, and / or other thread synchronization mechanisms). Alternatively, the processes implementing the method 400 may be executed asynchronously relative to each other.
[0051] For simple explanation, the method of the present disclosure is depicted and described as a series of actions. However, the actions according to the present disclosure can occur in various orders and / or simultaneously, and other actions are not presented and described in this article at the same time. In addition, it may not be required that all illustrated actions are implemented according to the method of the disclosed subject matter. In addition, it will be understood and apparent to those skilled in the art that these methods can be alternatively represented as a series of related states via state diagrams or events. Additionally, it should be apparent that the methods disclosed in this specification can be stored on articles to facilitate the delivery and transfer of such methods to computing devices. The term "article" as used herein is intended to include a computer program accessible from any computer-readable device or storage medium. In one implementation, the method 400 can be performed by the following items: one or more chart generation modules 124A-124Z and / or statistical engine 114 executed by one or more processing devices of servers 112A-112Z in a cloud-based environment 110. In some implementations, the method 400 may be performed by one or more processing devices of the execution graph generation modules 124A-124Z and / or the statistics engine 114 of the user devices 140A-140Z.
[0052] Method 400 can start at block 402. At block 402, a processing device can parse cells of a data table 120 to identify one or more columns and one or more data types of the cells. The data table 120 can be located in a data store 118 or included in any suitable electronic document (e.g., a spreadsheet document, a word processing document, a slide document, etc.). The electronic document may or may not be shared with collaborators. The processing device can also identify a column header for each of the columns. The data type of the column may include a string, a number, a date, a currency, a floating point number, or any suitable data type.
[0053] At block 404, the processing device may perform a statistical analysis of the one or more columns to obtain one or more statistics 121 about the one or more columns. The statistics may include an aggregation of the number of unique values in each of the columns, a range of values in each of the columns, a distribution of the data in each of the columns, a number of rows in each of the columns, an average of the data in each of the columns, etc. In addition, the statistics 121 may also include the size of the data table 120.
[0054] At block 406, the processing device may create one or more suggested charts based on one or more statistics 121 about one or more columns and one or more data types of the cells. In some implementations, creating one or more suggested charts may include applying one or more rules 125A to the data table 120. The one or more rules may be used to identify a relationship between at least two of the one or more columns. As discussed above, the identified relationship may be a relationship between column headers of at least two columns defined as suitable / specified for visualization, or a relationship defined by a correlation between values of at least two columns. For example, a rule may specify a relationship between sales information between a column header related to the region in which the product is sold and a column header related to actual sales data of the product. When it is determined that the values in two different columns are trending together (e.g., both are increasing, both are decreasing, or one is increasing while the other is decreasing), another relationship may specify a correlation. The one or more rules may also define how to score the suggested chart types. Based on these scores, one or more suggested chart types with scores above a minimum threshold can be identified. The processing device may create suggested charts for at least a subset of the data in the data table 120 based on the identified chart types. In some implementations, the one or more rules may be like references to the chart types. Figure 5 Define how to score the suggestion charts as discussed further in
[0055] In some implementations, creating one or more suggested charts may include applying one or more statistics 121 about one or more columns and one or more data types of cells as inputs to a machine learning model 123 that is trained to output one or more chart types. The machine learning model 123 may be trained using annotated charts 122 that may provide annotations for various training data table inputs and corresponding charts output based on the input data tables. For example, the annotations may specify statistics in the training data table, relationships between data groups in the training data table, data types in the training data table, prerequisite criteria for chart types suitable for the training data table, etc. The processing device may create one or more suggested charts based on the output chart type.
[0056] At block 408, the processing device may generate a chart suggestion list 200 including at least one of the one or more suggested charts. The user interface 144A may be provided for display on the user device 144A and the user interface 144A may include a first portion for presenting the chart suggestion list 200 and a second portion for simultaneously presenting the data table 120. The chart suggestion list 200 may be displayed in the insight table 204. The user may select to add any of the suggested charts displayed in the chart suggestion list 200 to an electronic document including the data table 120 and may insert the selected suggested chart into the electronic document proximate to the data table 120.
[0057] In some implementations, the processing device may sort the suggested charts in the chart suggestion list 200 based on the score, wherein the highest-scoring suggested charts are more preferably (e.g., higher up) displayed in the chart suggestion list 200. In some implementations, the processing device may also use a diversity criterion to determine the order of the suggested charts in the chart suggestion list 200. For example, if the first two charts with the highest scores belong to similar chart types and represent data in a similar manner, a third chart with a different chart type may be rearranged to be displayed more prominently than the second highest-ranked chart, provided that the third chart belongs to a different type and represents data in a different manner. Therefore, even if the third chart has a lower score than the second chart with the second highest score, the third chart may be displayed above the second chart.
[0058] In some implementations, the processing device may receive a selection of a suggested chart from the chart suggestion list 200. For example, the user may have selected a suggested chart in the suggested chart list 200 (e.g., by clicking an input device on the suggested chart or hovering a cursor over the suggested chart) without inserting the suggested chart into the electronic document. The processing device may display a visual indicator (e.g., highlight) for cells in the data table 120 that participated in creating the selected suggested chart. In some implementations, when the user selects to insert a suggested chart into the electronic document, a visual indicator may also be displayed for cells in the data table 120 that participated in creating the selected suggested chart.
[0059] In some implementations, the processing device may receive a selection of a subset of data in the data table 120. The user may highlight the subset of data in the data table 120 in the electronic document by dragging a box around the desired cells. The processing device may prioritize the selected subset of data to be used for chart creation. For example, the processing device may create one or more revised suggested charts to represent the selected subset of data. For example, new statistics may be obtained for the selected subset of data, new relationships may be identified for the selected subset of data, new data types may be determined for the selected subset of data, new prerequisite criteria for the chart may be determined for the selected subset of data, etc., and the processing device may create revised suggested charts accordingly. The processing device may also create suggested charts for the entire data table 120. The processing device may generate an updated chart suggestion list including at least one of the one or more revised suggested charts. The chart suggestion list may also include at least one of the suggested charts based on the entire data table 120. The processing device may prioritize and display the revised suggested charts based on the selected subset of data above the suggested charts based on the entire data table 120.
[0060] Figure 5 A flow chart depicting aspects of a method 500 for scoring a generated chart using one or more rules to generate a chart suggestion list 200 according to one implementation of the present disclosure. The method 500 may be performed in the same or similar manner as described above with respect to the method 400. In one implementation, the method 500 may be performed by one or more chart generation modules 124A-124Z and / or the statistics engine 114 executed by one or more processing devices of the servers 112A-112Z in the cloud-based environment 110. In some implementations, the method 500 may be performed by one or more processing devices of a user device 140A-140Z executing the chart generation modules 124A-124Z and / or the statistics engine 114.
[0061] Method 500 may begin at block 502. At block 502, a processing device may score each of the one or more suggested charts created as described above. Scoring may be performed by the processing device by applying rules 125A-125Z or machine learning model 123. Scoring may be based on at least one of the data types of cells, one or more statistics 121 (e.g., aggregation of unique values in a column, range of data values, distribution of data, size of a data table), one or more criteria (e.g., number of columns that can be depicted according to a certain chart type, whether a chart type can handle negative values, whether a chart reveals information that the original chart does not reveal, etc.), and / or one of the relationships identified between at least two columns of a data table 120 (e.g., correlation between values of a column, relationships defined as specified for visualization, etc.). In some implementations, scoring may also be performed for the suggested chart type using rules 125A-125Z or machine learning model 123.
[0062] At block 504, the processing device may discard one or more suggested charts that received a score below a minimum threshold. Discarding suggested charts that received a score below the minimum threshold may enable a reduction in the number of suggested charts displayed in the chart suggestion list 200, which may increase the processing speed of generating the chart suggestion list 200.
[0063] At block 506, the processing device may select one or more suggested charts that received a score above a minimum threshold to include in the chart suggestion list 200. The processing device may display the chart suggestion list 200 in the insights table 204 in a portion of the user interface 144A while also displaying the data table 120 in another portion of the user interface 144A.
[0064] Figure 6 An example of an aggregate table created from data present in a data table 120 according to an illustrative implementation is shown. The data table 120 may be stored in a data store 118 or included in an electronic document (e.g., a spreadsheet document, a word processing document, a slide document, etc.) that is shared or not shared with collaborators. The data table 120 may be referred to as an initial data table and the aggregate table may be referred to herein as an additional table.
[0065] Initial data table 120 includes four different column names (Name) 600, answer (Answer) 602, value A (ValueA) 604 and value B (ValueB) 606. The statistical analysis performed on initial data table 120 obtains statistics 121 indicating the number of unique values in each of columns 600, 602, 604 and 606. Aggregate table 608 can be generated based on statistics (e.g., unique values in each column of table 120). In some implementations, a determination can be made based on the number of unique values in the column to select a column to generate an aggregate table. For example, if a column has relatively few unique values, the unique value may be more important than the unique value from the column containing a relatively large number of unique values. As depicted, compared with other columns in the table (e.g., Name column 600 has five unique values), Answer column 602 has only two unique values, Yes and No. Application of one or more of rules 125A-125Z or machine learning model 123 may cause aggregate table 608 generated based on Answer 602 to be scored higher than any other aggregate table generated from table 402 due to the limited number of unique values. Additionally, when it is determined that Value A column 604 and Value B column 606 have numeric data types, rules 125-125Z or machine learning model 123 may be applied to generate aggregate table 608 for each unique response in Answer column 602 by adding the numbers in Value A column 604 and Value B column 410.
[0066] The aggregate table 608 includes three columns: Answer 610, Sum of Value A 612, and Sum of Value B 614. The Answer column 610 includes Yes and No row entries and the corresponding sums are depicted in the Sum of Value A column 612 and the Sum of Value B column 614. Thus, the aggregate table 608 represents the transformed data from the initial data table 120. The transformation applied to the data in the initial data table 120 includes summing the values associated with Yes in Value and Value B and summing the values associated with No in Value A and Value B. It should be understood that other transformations, such as averaging, may be applied. The resulting aggregate table 608 may include a subset of the data (e.g., Yes and No) from the initial data table 120, as well as new transformed data that is not directly represented in the initial data table 120.
[0067] Another aggregate table 616 can be generated based on the Answer 602 column in the initial data table 120, which has the fewest unique values. In particular, the aggregate table 616 includes columns for Answer 618 and Count 620. The aggregate table 616 shows the entries (Yes and No) of the Answer column 618 and the counts (2 and 3) of how many times they appear in the initial data table 120. Thus, the aggregate data table 616 includes a subset of the data from the initial data table 120 and the transformed data (e.g., counts).
[0068] Can be Figure 2 and Figure 3 Aggregate tables 608 and 616 are represented in the form of charts and graphs shown in . The generated charts using reduced subsets of the data in aggregate tables 608 and 616 can improve processing speed and / or reduce network traffic by sending charts created using reduced data sets to various user devices 140A-140Z. As described above, charts related to aggregate tables 608 and 616 can be created and then scored based on a variety of factors. Some of these factors may include the number of unique values in a column and / or the number of columns that can be depicted in a certain chart. In some implementations, when determining the type of chart used to represent information in aggregate tables 608 and 616, rules 125A or machine learning models 123 determine whether the chart meets a prerequisite criterion for depicting information in aggregate tables 608 and / or 616. For example, a pie chart may not be used to represent an aggregate table with negative values.
[0069] Figure 7 An example of a set of faceted charts generated from data present in a data table 120 is illustrated according to an illustrative implementation. The faceted versions of the charts and tables are of the same type on the same data. The selection of whether to facet a chart can depend on certain factors, such as whether the faceted chart contains information that was not included in the first chart from which the faceted chart was generated. In some implementations, rules 125A or machine learning models 123 can be used to determine whether a chart is faceted. For example, a data table that contains few repeated unique values in a column may not be faceted. In some implementations, statistical analysis can be performed to determine which column or columns can be faceted based also on the unique values of each of these columns. Columns determined to be faceted can be referred to as categorical columns.
[0070] In particular, Figure 7The data table 120 in includes a location column that contains two unique values (MA and CA). Therefore, the Location column can be selected as a classification column because it has the least number of unique values as compared to the other columns in the data table 120. For each classification column in the data table 120, a faceted chart can be generated and each of the faceted charts can be scored based on the concept of normalized mutual information. The more information represented in the faceted chart, the higher the score of the faceted chart can be. If the faceted chart reveals information that the original chart does not reveal, the faceted chart is scored high.
[0071] For example, an initial chart 704 is generated for the table 120 based on statistics of the data table 120, identification relationships of at least two columns in the data table 120, data types of cells, etc. The rule 125A or machine learning model 123 can be applied to the chart 504, which can result in determining that the chart can be faceted based on the classification column of Location. For example, the rule 125A or machine learning model can determine that faceting by the Location column contains high interactive information with the Score column. As depicted, each entry of the CA of the Location column is associated with a value of 5 in the Score column, and each entry of the MA of Location is associated with a value of 2 in the Score column. Therefore, an additional version of the chart 700 faceted by location can be scored as high. The faceted chart can be scored on any scale predetermined by the user. Based on the analysis, the chart generation module 124A can generate faceted charts 702 and 704 generated using a subset of the data from the chart 700 but divided by Location. For example, faceted chart 702 is partitioned from chart 700 by CA of Location and faceted chart 704 is partitioned from chart 700 by MA of Location. Generating faceted charts 702 and 704 may increase processing speed by using only a subset of data from initial data table 120 while still presenting interesting information to the user.
[0072] Figure 8A flow chart depicting aspects of a method 800 for generating a list of chart suggestions 200 from data in an additional data table generated from an initial data table according to one implementation of the present disclosure. The method 800 may be performed in the same or similar manner as described above with respect to the method 400. In one implementation, the method 800 may be performed by one or more chart generation modules 124A-124Z and / or the statistics engine 114 executed by one or more processing devices of the servers 112A-112Z in the cloud-based environment 110. In some implementations, the method 800 may be performed by one or more processing devices of a user device 140A-140Z executing the chart generation modules 124A-124Z and / or the statistics engine 114.
[0073] Method 800 may begin at block 802. At block 802, the processing device may create at least one additional table containing a subset of data from the initial data table based on statistics 121 about the columns of the initial data table and one or more data types of the cells. The additional table may be as described above with reference to Figure 6 In some implementations, the additional data table can be displayed proximate to the initial data table in the user interface 144A of the electronic document.
[0074] At block 804, the processing device may create one or more additional suggested charts that each represent at least a subset of the data in the additional data table. The additional suggested charts may be created by applying rules 125A-125Z or machine learning model 123 to the additional data table based on statistics 121 of the additional data table, relationships identified between columns of the additional data table, data types of cells in the additional data table, prerequisite criteria for the chart to represent the additional data table, etc. In some implementations, the chart may be, for example, a bar chart representing an aggregate table. In some implementations, the additional suggested chart may be a reference chart. Figure 7 At least one of the one or more additional suggested charts in the first chart suggestion list may represent transformed data. The transformed data may result from a transformation applied to the data in the initial data table. The transformed data may not be depicted in the initial data table, and the transformation may include at least one of aggregation, summing, or averaging.
[0075] At block 806, the processing device may generate a chart suggestion list 200 including at least one of the one or more additional suggested charts. The rules 125A-125Z or the machine learning model 123 may score the additional suggested charts, which may be arranged in the chart suggestion list 200 based on the score and / or the diversity criteria. The chart suggestion list 200 may be displayed in the insight table 204 of the user interface 144A simultaneously with the initial data table and / or the created additional data tables.
[0076] Fig. 9 A flow chart depicting a method 900 for receiving additional data from a collaborating user and generating a second list of chart suggestions including a chart based on the additional data, according to an illustrative implementation. The method 900 may be performed in the same or similar manner as described above with respect to the method 400. In one implementation, the method 900 may be performed by one or more chart generation modules 124A-124Z and / or the statistics engine 114 executed by one or more processing devices of the servers 112A-112Z in the cloud-based environment 110. In some implementations, the method 900 may be performed by one or more processing devices of the user devices 140A-140Z executing the chart generation modules 124A-124Z and / or the statistics engine 114.
[0077] The method 900 may start at block 902. At block 902, the processing device may receive additional data in a data table 120 from a collaborating user. For example, when the data table 120 is included in a shared electronic document, the shared electronic document may be opened in a user interface 144A on a first user device 140A and may be simultaneously opened in another user interface 144B on a second user device 140B. The second user may add data to the data table 120.
[0078] The processing device may receive the additional data for the data table 120 and create (block 904) one or more revised suggested graphs to represent the additional data. For example, new statistics may be obtained for the data table 120 including the additional data, new relationships may be identified, new data types may be determined, new prerequisite criteria for the graph may be determined, etc., and the processing device may create revised suggested graphs accordingly.
[0079] At block 904, the processing device may update the chart suggestion list 200 to include at least one of the one or more revised suggested charts. The updated chart suggestion list may be dynamically updated and displayed in the insight table 204 in the user interface 144A, which also displays the data table 120 including the data added by the collaborating user.
[0080] Fig.10A block diagram depicts an example computing system that operates in accordance with one or more aspects of the present disclosure. In various illustrative examples, computer system 1000 may be used with Figure 1 The computer system 1000 corresponds to any one of the computing devices within the system architecture 100. In one implementation, the computer system 1000 may be each of the servers 112A-112Z, the statistics engine 114, or the training engine 116. In another implementation, the computer system 1000 may be each of the user devices 140A-140Z.
[0081] In some implementations, computer system 1000 can be connected to other computer systems (e.g., via a network such as a local area network (LAN), an intranet, an extranet, or the Internet). Computer system 1000 can operate as a server or client computer in a client-server environment, or operate as a peer computer in a peer-to-peer or distributed network environment. Computer system 1000 can be provided by a personal computer (PC), a tablet PC, a set-top box (STB), a personal digital assistant (PDA), a cellular phone, a web device, a server, a network router, a switch or a bridge, or any device that can perform a set of instructions (sequential or other) specifying the action to be taken by the device. In addition, the term "computer" should include executing a set (or multiple sets) of instructions individually or jointly to perform any one or more of the computer's collection of the methods described herein.
[0082] In another aspect, the computer system 1000 may include a processing device 1002, a volatile memory 1004 (e.g., a random access memory (RAM)), a non-volatile memory 1006 (e.g., a read-only memory (ROM) or an electrically erasable programmable ROM (EEPROM)), and a data storage device 1016 that may communicate with each other via a bus 1008.
[0083] The processing device 1002 may be provided by one or more processors such as a general purpose processor (such as, for example, a complex instruction set computing (CISC) microprocessor, a reduced instruction set computing (RISC) microprocessor, a very long instruction word (VLIW) microprocessor, a microprocessor that implements other types of instruction sets, or a microprocessor that implements a combination of various types of instruction sets) or a special purpose processor (such as, for example, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a digital signal processor (DSP), or a network processor).
[0084] The computer system 1000 may also include a network interface device 1022. The computer system 1000 may also include a video display unit 1010 (eg, LCD), an alphanumeric input device 1012 (eg, keyboard), a cursor control device 1014 (eg, mouse), and a signal generating device 1020.
[0085] The data storage device 1016 may include a non-transitory computer-readable storage medium 1024 on which instructions 1026 encoding any one or more of the methods or functions described herein may be stored. Figure 1 The chart generation module 125, the statistics engine 114, and / or the training engine 116 are used to implement instructions (125A-125Z) of any of the methods described herein.
[0086] The instructions 1026 may also reside, completely or partially, within the volatile memory 1004 and / or within the processing device 1002 during execution thereof by the computer system 1000, and thus the volatile memory 1004 and the processing device 1002 may also constitute machine-readable storage media.
[0087] Although the computer-readable storage medium 1024 is shown as a single medium in the illustrative example, the term "computer-readable storage medium" shall include a single medium or multiple media (e.g., a centralized or distributed database, and / or associated caches and servers) that store one or more sets of executable instructions. The term "computer-readable storage medium" shall also include any tangible medium that can store a set of instructions or encode a set of instructions for execution by a computer, the instructions causing the computer to perform any one or more of the methods described herein. The term "computer-readable storage medium" shall include, but is not limited to, solid-state memories, optical media, and magnetic media.
[0088] In the foregoing description, many details are set forth. However, it will be apparent to those of ordinary skill in the art who benefit from the present disclosure that the present disclosure can be practiced without these specific details. In some cases, well-known structures and devices are shown in block diagram form rather than in detail in order to avoid obscuring the present disclosure.
[0089] Some portions of the detailed description have been presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the means used by those skilled in the art of data processing to most effectively communicate the essence of their work to other persons skilled in the art. An algorithm is here and generally considered to be a self-consistent sequence of steps leading to a desired result. These steps are steps requiring physical manipulation of physical quantities. Typically, although not necessarily, these quantities take the form of electrical or magnetic signals that can be stored, transferred, combined, compared, and otherwise manipulated. For general reasons, it has proven convenient to sometimes refer to these signals as bits, values, elements, symbols, characters, terms, numbers, etc.
[0090] It should be remembered, however, that all of these and similar terms will be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated as will be apparent from the following discussion, it should be apparent that throughout this specification, discussions utilizing terms such as "receive," "display," "move," "adjust," "replace," "determine," "play," etc. refer to the actions and processes of a computer system or similar electronic computing device that manipulates and transforms data represented as physical (e.g., electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system's memories or registers or other such information storage, transmission, or display devices.
[0091] For simplicity of explanation, method is depicted and described as a series of actions in this article. However, actions according to the present disclosure may occur in various orders and / or occur simultaneously, and other actions are not presented and described in this article at the same time. In addition, all illustrated actions may not be required to implement the method according to the disclosed subject matter. In addition, it should be understood and apparent to those skilled in the art that these methods can be alternatively represented as a series of related states via state diagrams or events. Additionally, it should be apparent that the methods disclosed in this specification can be stored on articles of manufacture to facilitate the transport and transfer of such methods to computing devices. As used herein, the term "article of manufacture" is intended to include a computer program accessible from any computer-readable device or storage medium.
[0092] Certain implementations of the present disclosure also relate to an apparatus for performing the operations herein. This apparatus can be constructed for a predetermined purpose, or it can include a general-purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program can be stored in a computer-readable storage medium, such as but not limited to any type of disk including a floppy disk, an optical disk, a CD-ROM, and a magneto-optical disk suitable for storing electronic instructions, a read-only memory (ROM), a random access memory (RAM), an EPROM, an EEPROM, a magnetic card or an optical card, or any type of medium.
[0093] References throughout this specification to "an implementation" or "implementation" mean that a particular feature, structure, or characteristic described in conjunction with the implementation is included in at least one implementation. Therefore, the appearances of the phrases "in one implementation" or "in an implementation" in various places throughout this specification are not necessarily all with reference to the same implementation. In addition, the term "or" is intended to mean an inclusive "or" rather than an exclusive "or". In addition, the words "example" or "exemplary" are used herein to mean serving as an example, instance, or illustration. Any aspect or design described herein as "exemplary" is not necessarily to be construed as being superior to other aspects or designs as being preferred or advantageous. On the contrary, the use of the words "example" or "exemplary" is intended to present the concept in a concrete manner.
[0094] It should be understood that the above description is intended to be illustrative, rather than restrictive. After reading and understanding the above description, many other implementations will be apparent to those skilled in the art. Therefore, the scope of the present disclosure should be determined with reference to the full scope of equivalents given by the attached claims and such claims.
[0095] In addition to the above description, users may be provided with controls that allow users to select whether and when the systems, programs, or features described herein can enable the collection of user information (e.g., information about the user's social network, social actions or activities, professions, preferences of the user, or the user's current location) and whether the user is sent content or communications from the server. In addition, certain data may be processed in one or more ways before it is stored or used so that personally identifiable information is removed. For example, the identity of the user may be processed so that personally identifiable information cannot be determined for the user, or the user's geographic location may be generalized (such as to a city, zip code, or state level) when location information is obtained so that the user's specific location cannot be determined. Therefore, users may have control over what information is collected about the user, how the information is used, and what information is provided to the user.
Claims
1. A method for generating a list of chart suggestions using data present in a data table of a collaborative spreadsheet stored in a cloud-based environment, the method comprising: providing the collaborative electronic form to be displayed on a first device of a first user, wherein the collaborative electronic form is shared with a second user by granting permission to the second user, the permission allowing the second user to edit the collaborative electronic form on a second device simultaneously with the first user editing the collaborative electronic form on the first device; providing the data table as input to a machine learning model; Using the one or more outputs of the machine learning model, create one or more suggested charts for the data table based on one or more chart types, wherein each of the one or more suggested charts represents at least a subset of the data in the data table; generating a chart suggestion list including at least one suggested chart of the one or more suggested charts; presenting the list of chart suggestions on the first device of the first user; receiving, from the second device of the second user, additional data in the data table, the additional data being added by the second user when editing the collaborative electronic form on the second device while the collaborative electronic form is being edited on the first device; revising at least one of the created one or more suggestion charts to generate one or more revised suggestion charts representing the additional data from the second device of the second user; updating the list of chart suggestions presented on the first device of the first user to include at least one suggested chart of the one or more revised suggested charts; and In response to receiving a selection of a suggested chart in the list of chart suggestions from the first device of the first user, the suggested chart is associated with the collaborative spreadsheet for presentation on the first device of the first user. 2 . The method of claim 1 , further comprising providing a user interface comprising a first portion for presenting the list of chart suggestions and a second portion for simultaneously presenting the data table.
3. The method according to claim 1, further comprising: parsing the plurality of cells of the data table to identify one or more columns and one or more data types of the plurality of cells of the data table; as well as A statistical analysis of the one or more columns is performed to obtain one or more statistics about the plurality of cells.
4. The method according to claim 1, wherein: When the list of chart suggestions is presented on the first device of the first user, the at least one suggested chart of the one or more suggested charts is revised.
5. The method according to claim 3, further comprising: creating a second data table containing at least a subset of the data from the data table based on the one or more statistics about the plurality of cells and the one or more data types of the cells; creating one or more additional suggestion charts, each of the one or more additional suggestion charts representing at least a subset of the data in the second data table; as well as The chart suggestion list is generated including at least one additional suggested chart of the one or more additional suggested charts.
6. The method according to claim 3, further comprising: scoring each of the one or more suggested charts based on at least one of: the one or more data types of the plurality of cells, the one or more statistics, one or more criteria related to the one or more suggested charts, or a relationship identified between at least two of the one or more columns; discarding any suggested chart of the one or more suggested charts that received a score below a minimum threshold; as well as At least one remaining suggested chart of the one or more suggested charts that received a score above the minimum threshold is selected for inclusion in the chart suggestion list.
7. The method according to claim 1, further comprising: receiving a selection of a suggested chart from the list of chart suggestions; as well as Causing display of an indicator for a set of cells in the data table that participated in creation of the selected suggested chart.
8. The method according to claim 1, further comprising: receiving a selection of a subset of data in the data table; creating one or more revised suggested graphs to represent the selected subset of data; as well as A second list of diagram suggestions is generated that includes at least one of the one or more revised suggested diagrams.
9. The method according to claim 1, wherein: At least one of the one or more charts in the chart suggestion list represents transformed data, the transformed data being produced by a transformation applied to the data in the data table, the transformed data not being depicted in the data table, and the transformation comprising at least one of: aggregation, summation, or averaging.
10. The method according to claim 3, wherein: The one or more statistics include at least one of: the number of unique values in each of the one or more columns, the distribution of data in each of the one or more columns, the size of the data table, the average of the data values in each of the one or more columns, or the range of the data in each of the one or more columns.
11. The method according to claim 1, further comprising: The one or more charts in the chart suggestion list are rearranged by selecting a first chart having a lower rating to be displayed more prominently than a second chart having a higher rating based at least on chart types of the first chart and the second chart that are related to a chart type of a third chart.
12. A system for generating a list of chart suggestions using data present in a data table of a collaborative spreadsheet stored in a cloud-based environment, the system comprising: a memory device for storing instructions; as well as a processing device coupled to the memory device, the processing device executing the instructions to perform operations comprising: providing the collaborative electronic form to be displayed on a first device of a first user, wherein the collaborative electronic form is shared with a second user by granting permission to the second user, the permission allowing the second user to edit the collaborative electronic form on a second device simultaneously with the first user editing the collaborative electronic form on the first device; providing the data table as input to a machine learning model; Using the one or more outputs of the machine learning model, create one or more suggested charts for the data table based on one or more chart types, wherein each of the one or more suggested charts represents at least a subset of the data in the data table; generating a chart suggestion list including at least one suggested chart of the one or more suggested charts; presenting the list of chart suggestions on the first device of the first user; receiving, from the second device of the second user, additional data in the data table, the additional data being added by the second user when editing the collaborative electronic form on the second device while the collaborative electronic form is being edited on the first device; revising at least one of the created one or more suggestion charts to generate one or more revised suggestion charts representing the additional data from the second device of the second user; updating the list of chart suggestions presented on the first device of the first user to include at least one suggested chart of the one or more revised suggested charts; and In response to receiving a selection of a suggested chart in the list of chart suggestions from the first device of the first user, the suggested chart is associated with the collaborative spreadsheet for presentation on the first device of the first user.
13. The system of claim 12, the operations further comprising: parsing the plurality of cells of the data table to identify one or more columns and one or more data types of the plurality of cells of the data table; as well as A statistical analysis of the one or more columns is performed to obtain one or more statistics about the plurality of cells.
14. The system of claim 13, the operations further comprising: creating a second data table containing at least a subset of the data from the data table based on the one or more statistics about the plurality of cells and the one or more data types of the cells; creating one or more additional suggestion charts, each of the one or more additional suggestion charts representing at least a subset of the data in the second data table; as well as The chart suggestion list is generated including at least one additional suggested chart of the one or more additional suggested charts.
15. The system of claim 13, the operations further comprising: scoring each of the one or more suggested charts based on at least one of: the one or more data types of the plurality of cells, the one or more statistics, one or more criteria related to the one or more suggested charts, or a relationship identified between at least two of the one or more columns; discarding any suggested chart of the one or more suggested charts that received a score below a minimum threshold; as well as At least one remaining suggested chart of the one or more suggested charts that received a score above the minimum threshold is selected for inclusion in the chart suggestion list.
16. The system of claim 13, wherein: The one or more statistics include at least one of: the number of unique values in each of the one or more columns, the distribution of data in each of the one or more columns, the size of the data table, the average of the data values in each of the one or more columns, or the range of the data in each of the one or more columns.
17. The system of claim 12, the operations further comprising: The one or more charts in the chart suggestion list are rearranged by selecting a first chart having a lower rating to be displayed more prominently than a second chart having a higher rating based at least on chart types of the first chart and the second chart that are related to a chart type of a third chart.
18. A non-transitory computer-readable storage medium storing instructions that, when executed by one or more processing devices, cause the one or more processing devices to perform operations for generating a list of chart suggestions using data present in a data table of a collaborative spreadsheet stored in a cloud-based environment, the operations comprising: providing the collaborative electronic form to be displayed on a first device of a first user, wherein the collaborative electronic form is shared with a second user by granting permission to the second user, the permission allowing the second user to edit the collaborative electronic form on a second device simultaneously with the first user editing the collaborative electronic form on the first device; providing the data table as input to a machine learning model; Using the one or more outputs of the machine learning model, create one or more suggested charts for the data table based on one or more chart types, wherein each of the one or more suggested charts represents at least a subset of the data in the data table; generating a chart suggestion list including at least one suggested chart of the one or more suggested charts; presenting the list of chart suggestions on the first device of the first user; receiving, from the second device of the second user, additional data in the data table, the additional data being added by the second user when editing the collaborative electronic form on the second device while the collaborative electronic form is being edited on the first device; revising at least one of the created one or more suggestion charts to generate one or more revised suggestion charts representing the additional data from the second device of the second user; updating the list of chart suggestions presented on the first device of the first user to include at least one suggested chart of the one or more revised suggested charts; and In response to receiving a selection of a suggested chart in the list of chart suggestions from the first device of the first user, the suggested chart is associated with the collaborative spreadsheet for presentation on the first device of the first user.
19. The non-transitory computer-readable storage medium of claim 18, the operations further comprising: parsing the plurality of cells of the data table to identify one or more columns and one or more data types of the plurality of cells of the data table; as well as A statistical analysis of the one or more columns is performed to obtain one or more statistics about the plurality of cells.
20. The non-transitory computer-readable storage medium of claim 19, wherein: The one or more statistics include at least one of: the number of unique values in each of the one or more columns, the distribution of data in each of the one or more columns, the size of the data table, the average of the data values in each of the one or more columns, or the range of the data in each of the one or more columns.
