Systems and methods for automated data visualization recommendations
Systems, methods, and non-transitory computer-readable media can determine a set of potential visualizations for a data set based on a set of visualization templates. The set of potential visualizations is ranked based on ranking criteria. A set of visualization recommendations for the data set is determined based on the ranking.
1. A computer-implemented method comprising:
receiving, by a computing system, a data set comprising at least a first dimension associated with a first data field having a first cardinality and a second dimension associated with a second data field having a second cardinality;
determining, by the computing system, a set of potential visualizations for the data set based on a set of visualization templates, wherein the determining the set of potential visualizations comprises:
including a first potential visualization in the set of potential visualizations based on the first cardinality of the first data field satisfying a first threshold and the second cardinality of the second data field satisfying a second threshold;
ranking, by the computing system, the set of potential visualizations based on ranking criteria; and
determining, by the computing system, a set of visualization recommendations for the data set based on the ranking and a maximum number of visualization recommendations.
2. The computer-implemented method of claim 1 , wherein each visualization template of the set of visualization templates is associated with one or more rules.
3. The computer-implemented method of claim 2 , wherein the at least one rule specifies that the first data field must have the first cardinality below the first threshold.
4. The computer-implemented method of claim 2 , wherein the at least one rule specifies that the first data field must have the first cardinality above the first threshold.
5. The computer-implemented method of claim 1 , wherein the ranking criteria comprise past user behavior information.
6. The computer-implemented method of claim 1 , wherein the set of potential visualizations are ranked based on a machine learning model.
7. The computer-implemented method of claim 1 , further comprising determining the maximum number of visualization recommendations that can fit on a display of a user computing device.
8. The computer-implemented method of claim 1 , wherein the data set is received from a user or is a result of a user query.
9. The computer-implemented method of claim 1 , wherein the ranking the set of potential visualizations based on ranking criteria further comprises:
determining types of visualizations for the set of potential visualizations, each potential visualization associated with a corresponding type of visualization; and
upranking a second potential visualization in the set of potential visualizations based on a determination that top ranked potential visualizations do not include a type of visualization associated with the second potential visualization.
10. A system comprising:
at least one processor; and
a memory storing instructions that, when executed by the at least one processor, cause the system to perform a method comprising:
receiving a data set comprising at least a first dimension associated with a first data field having a first cardinality and a second dimension associated with a second data field having a second cardinality;
determining a set of potential visualizations for the data set based on a set of visualization templates, wherein the determining the set of potential visualizations comprises:
including a first potential visualization in the set of potential visualizations based on the first cardinality of the first data field satisfying a first threshold and the second cardinality of the second data field satisfying a second threshold;
ranking the set of potential visualizations based on ranking criteria; and
determining a set of visualization recommendations for the data set based on the ranking and a maximum number of visualization recommendations.
11. The system of claim 10 , wherein each visualization template of the set of visualization templates is associated with one or more rules.
12. The system of claim 11 , wherein the at least one rule specifies that the first data field must have the first cardinality below the threshold.
13. The system of claim 11 , wherein the at least one rule specifies that the first data field must have the first cardinality above the first threshold.
14. The system of claim 10 , wherein the ranking the set of potential visualizations based on ranking criteria further comprises:
determining types of visualizations for the set of potential visualizations, each potential visualization associated with a corresponding type of visualization; and
upranking a second potential visualization in the set of potential visualizations based on a determination that top ranked potential visualizations do not include a type of visualization associated with the second potential visualization.
15. A non-transitory computer-readable storage medium including instructions that, when executed by at least one processor of a computing system, cause the computing system to perform a method comprising:
receiving a data set comprising at least a first data field having a first dimension associated with a first cardinality and a second data field having a second dimension associated with a second cardinality;
determining a set of potential visualizations for the data set based on a set of visualization templates, wherein the determining the set of potential visualizations comprises:
including a first potential visualization in the set of potential visualizations based on the first cardinality of the first data field satisfying a first threshold and the second cardinality of the second data field satisfying a second threshold;
ranking the set of potential visualizations based on ranking criteria; and
determining a set of visualization recommendations for the data set based on the ranking and a maximum number of visualization recommendations.
16. The non-transitory computer-readable storage medium of claim 15 , wherein each visualization template of the set of visualization templates is associated with one or more rules.
17. The non-transitory computer-readable storage medium of claim 16 , wherein the at least one rule specifies that the first data field must have the first cardinality below the first threshold.
18. The non-transitory computer-readable storage medium of claim 16 , wherein the at least one rule specifies that the first data field must have the first cardinality above the first threshold.
19. The non-transitory computer-readable storage medium of claim 15 , wherein the ranking the set of potential visualizations based on ranking criteria further comprises:
determining types of visualizations for the set of potential visualizations, each potential visualization associated with a corresponding type of visualization; and
upranking a second potential visualization in the set of potential visualizations based on a determination that top ranked potential visualizations do not include a type of visualization associated with the second potential visualization.