Lexara: A User-Centered Toolkit for Evaluating Large Language Models for Conversational Visual Analytics
Organizations: Tableau Research, Salesforce, Palo Alto, CA, USA
Abstract
Large Language Models (LLMs) are transforming Conversational Visual Analytics (CVA) by enabling data analysis through natural language. However, evaluating LLMs for CVA remains a challenge: requiring programming expertise, overlooking real-world complexity, and lacking interpretable metrics for multi-format (visualizations and text) outputs. Through interviews with 22 CVA developers and 16 end-users, we identified use cases, evaluation criteria and workflows. We present Lexara, a user-centered evaluation toolkit for CVA that operationalizes these insights into: (i) test cases spanning real-world scenarios; (ii) interpretable metrics covering visualization quality (data fidelity, semantic alignment, functional correctness, design clarity) and language quality (factual grounding, analytical reasoning, conversational coherence) using rule-based and LLM-as-a-Judge methods; and (iii) an interactive toolkit enabling experimental setup and multi-format and multi-level exploration of results without programming expertise. We conducted a two-week diary study with six CVA developers, drawn from our initial cohort of 22. Their feedback demonstrated Lexara's effectiveness for guiding appropriate model and prompt selection.
Figures & tables
| Test | User Utterance | Expected Response | Model Response | Metrics |
|---|---|---|---|---|
| 1 Turn 1 | <Quantity> on y-axis and <Region> on x-axis | A vertical bar chart with Region on the x-axis and the sum of Quantity on the y-axis (range 0–140). The Central region has the highest total ( 137), with other regions lower. | A bar chart comparing Quantity (y-axis) across Regions (x-axis), allowing a quick scan of how quantities differ by region. | Data Fidelity = 100% ; Field Similarity = 100% ; Chart Type Similarity = 100% ; Axis Accuracy = 100% ; Filter Accuracy = 100% ; Sort Accuracy = 100% ; Visual Encoding Accuracy = 100% . Overall Viz = 100% . NL: Factual Grounding 70% ; Assumptions Disclosure = 40% ; Insightfulness = 40% ; Coherence 90% . Overall NL 65% . |
| 1 Turn 2 | Sort by <Quantity> | A vertical bar chart of Regions, sorted in descending order by the sum of Quantity, so the highest-quantity region (Central, 137) appears first. | A bar chart ordered by Quantity values for each Region; the description notes sorting by quantity but does not specify whether the order is ascending or descending. | Data Fidelity = 100% ; Field Similarity = 100% ; Chart Type Similarity = 100% ; Axis Accuracy = 50% ; Filter Accuracy = 100% ; Sort Accuracy = 0% ; Visual Encoding Accuracy = 100% . Overall Viz 65% . NL: Factual Grounding 60% ; Assumptions Disclosure = 40% ; Insightfulness = 20% ; Coherence 80% . Overall NL 50% . |
| 2 | show me top accounts by attendees | A horizontal bar chart of the Top 10 Account Names, ranked by total (sum) Item Quantity and sorted from highest to lowest, making it easy to spot the highest-volume accounts. | A horizontal bar chart listing the Top 10 Account Names ranked by sum(Item Quantity), with bars sorted descending to highlight the largest contributors. (Accounts with null Item Quantity don’t contribute to the totals.) | Data Fidelity = 100% ; Field Similarity 100% ; Chart Type Similarity = 100% ; Axis Accuracy = 100% ; Filter Accuracy = 100% ; Sort Accuracy = 100% ; Visual Encoding Accuracy 95% . Overall Viz 98% . NL: Factual Grounding = 100% ; Assumptions Disclosure = 100% ; Insightfulness = 20% ; Coherence 95% . Overall NL 85% . |
| 3 | count orders by categories | A bar chart that counts orders per Category—the x-axis lists categories and the y-axis shows the count of Order IDs. | A bar chart breaking down Order IDs by Category, with each category represented by a different color to distinguish groups. | Data Fidelity = 100% ; Field Similarity = 100% ; Chart Type Similarity 50% ; Axis Accuracy = 100% ; Filter Accuracy = 100% ; Sort Accuracy = 100% ; Visual Encoding Accuracy 85% . Overall Viz 90% . NL: Factual Grounding 60% ; Assumptions Disclosure = 20% ; Insightfulness = 20% ; Coherence 90% . Overall NL 50% . |
| 4 | revenue versus earnings | A scatterplot with Sales on the x-axis and Profit on the y-axis, one point per record. Plotting raw values reveals how profit changes with sales. | A scatterplot comparing total Sales (x) to total Profit (y) so it collapses to a single point representing Sum of Sales vs. Sum of Profit. | Data Fidelity = 0% ; Axis Accuracy = 95% ; All other viz metrics = 100% . Overall Viz = 85% ; NL: Factual Grounding 25% ; Assumptions Disclosure = 0% ; Insightfulness = 20% ; Coherence 90% . Overall NL 30% . |
| PID | # of Evaluation Experiments | # of Test Cases Executed | # of Models | # of System Prompts |
|---|---|---|---|---|
| P1 | 5 | 62 | 4 | 3 |
| P2 | 10 | 103 | 10 | 2 |
| P3 | 3 | 16 | 5 | 1 |
| P4 | 8 | 45 | 5 | 1 |
| P5 | 2 | 32 | 4 | 2 |
| P6 | 10 | 85 | 10 | 2 |
| Datasource | Domain | Details | Source |
|---|---|---|---|
| Superstore | Business & Finance | Contains information about products, sales, and profits that can be used to identify key areas of improvement within this fictitious company. | Tableau |
| The 2014 Inc. 5000 | Business & Finance | Inc. Magazine’s annual list of the 5000 fastest growing private companies in the U.S., compiled by measuring each company’s percentage revenue growth over a four-year period. | Inc. Magazine |
| Global Sport Finances | Business & Finance | The top-paying pro sports teams and the top paid athletes. | ESPN |
| American University Data (IPEDS) | Education | Primary source for data on colleges, universities, and technical/vocational postsecondary institutions in the U.S. | National Center for Education Statistics |
| edX/HarvardX (AY 2012–2013) | Education | De-identified data from the first year (Fall 2012, Spring 2013, Summer 2013) of MITx and HarvardX courses on the edX platform. | Harvard Dataverse |
| Life Expectancy WHO | Healthcare | Historical and current life expectancy by country, often paired with other health indicators. | World Health Organization |
LLM Evaluation
Large language model evaluation measures what models can do, how reliably they do it, and whether benchmark scores predict real-world performance.
See all 2,408 papers