Visualizations created in declarative visualization languages
AssigneeInternational Business Machines Corporation
InventorsPeter R. Broadbent, Ramon L. H. Pisters, Antonius G. P. Steijvers, Franciscus J. J. van Ham
Life of this patent
Estimating the term…
Abstract
A declarative specification for visualization may be improved. The declarative specification for the visualization may be identified and checked for appropriateness. This appropriateness check can be done by ensuring that the declarative specification meets a number of rules. The rules may be predefined and include rules that define best practices for visualizations. If a portion of the declarative specification violates one of the rules, it can be highlighted. In this way, the user can see how the declarative specification can be improved for visualization.
Claims18
A method of improving a declarative specification for a visualization, the method comprising the steps of:
- identifying a declarative specification for a visualization;
- checking, responsive to the identifying said declarative specification, an appropriateness of the declarative specification by ensuring the declarative specification meets a number of predefined rules defining best practice for visualizations;
- identifying a violation, the violation being a language construct in the declarative specification which violates one of said predefined rules;
- and
- responsive to said checking and to said identifying the language construct in the declarative specification which violates one of said predefined rules, highlighting the violation in context.
A system for improving a declarative specification for a visualization, the system comprising:
- a best practices database comprising one or more predefined best practice rules defining best practice for visualizations;
- one or more processor circuits configured to execute program code for a rules based engine configured to:
- check, responsive to an identification of said declarative specification in a visualization specification editing system, an appropriateness of the declarative specification by ensuring the declarative specification meets one or more of the predefined best practice rules, the one or more predefined best practices rules accessed from the best practices database;
- identify a violation, the violation being a language construct in the declarative specification which violates one of said predefined best practice rules;
- and
- mark, by highlighting, the violation in context within the specification.
A computer program product for improving a declarative specification for a visualization, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions executable by a computer to cause the computer to perform a method comprising:
- identifying a declarative specification for a visualization;
- checking, responsive to said identifying of said declarative specification, an appropriateness of the declarative specification by ensuring the declarative specification meets a number of predefined rules defining best practice for visualizations;
- identifying a violation, the violation being a language construct in the declarative specification which violates one of said predefined rules;
- and
- highlighting, responsive to said step of checking, and to the identifying the language construct in the declarative specification which violates one of said predefined rules, the violation in context.
Dependencies are inferred from the claim text.