Upstream analysis can be vague, so the intended message needs to be clarified before choosing a chart. Generating HTML or chart code directly can also produce data errors, incomplete structure, and inconsistent styling, even with the same input.
What we built
The model now produces a VisualizationSpec in a shared format. Code checks its structure, meaning, and rendering before generating the page. The project also includes visualization rules, common mistakes, and five categories of 100 regression cases each. Planned work includes better request interpretation, task decomposition, and model selection, with performance and reliability improvements informed by usage records.