
Answer-first summary for fast verification
Answer: Bar Chart
The question asks about the default visualization type in Databricks SQL when the result set has a STRING column and an INT column. Based on the community discussion, multiple users confirmed that a Bar Chart is selected by default in this scenario. The discussion shows users verifying this behavior, with comments stating 'bar chart is not B), its C)' and 'B is correct,checked;)' - though there appears to be some confusion in the comments about labeling (with some referring to B when it should be C). The consensus from the community and the documented answer indicates that when you have categorical data (STRING) and numerical data (INT), Databricks SQL defaults to a Bar Chart. Other options are less suitable: Violin Chart and Histogram are typically for distribution analysis of numerical data, Line Chart is for time series data, and there is indeed a default visualization rather than requiring user selection.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A data analyst creates a Databricks SQL query that returns a result set with the schema: region STRING, number_of_customers INT. After clicking the "Add visualization" button in the SQL Editor, which type of visualization is selected by default?
A
Violin Chart
B
Line Chart
C
Bar Chart
D
Histogram
E
There is no default. The user must choose a visualization type.
No comments yet.