Data Visualization Visualization Tools and Software 1 β Questions and Answers
Question 1: In Tableau, what is the difference between a 'dimension' and a 'measure'?
- Dimensions are time-based; measures are categorical
- Dimensions are categorical/qualitative fields; measures are numeric/quantitative fields (Correct answer)
- Dimensions appear on the X-axis; measures appear on the Y-axis
- Dimensions are from databases; measures are calculated
Correct answer: Dimensions are categorical/qualitative fields; measures are numeric/quantitative fields
In Tableau, dimensions are categorical fields used for slicing and grouping (e.g., Region, Category), while measures are numeric fields that can be aggregated (e.g., Sales, Profit).
Question 2: What is D3.js primarily used for in data visualization?
- Creating static PDF reports
- Building custom, interactive data visualizations in web browsers using SVG and HTML (Correct answer)
- Connecting to SQL databases
- Generating automated slide presentations
Correct answer: Building custom, interactive data visualizations in web browsers using SVG and HTML
D3.js (Data-Driven Documents) is a JavaScript library that binds data to DOM elements to create highly customizable, interactive browser-based visualizations.
Question 3: In Power BI, what is a 'DAX measure'?
- A dashboard accessibility feature
- A calculated field defined using Data Analysis Expressions that computes values dynamically (Correct answer)
- A data import tool
- A chart type for financial analysis
Correct answer: A calculated field defined using Data Analysis Expressions that computes values dynamically
DAX (Data Analysis Expressions) measures are formulas that compute aggregated values dynamically based on the current filter context in a Power BI report.
Question 4: What is Vega-Lite primarily designed for?
- Fast video game graphics
- A high-level grammar for creating interactive visualizations with minimal code (Correct answer)
- Low-level WebGL rendering
- Lightweight Excel charting
Correct answer: A high-level grammar for creating interactive visualizations with minimal code
Vega-Lite is a high-level visualization grammar that allows creating interactive, composable charts using a concise JSON specification.
Question 5: In Tableau, what is a 'calculated field'?
- A field imported from Excel formulas
- A new field created using Tableau formulas to transform or combine existing data (Correct answer)
- A field that auto-calculates row totals
- A field from a calculated column in SQL
Correct answer: A new field created using Tableau formulas to transform or combine existing data
Calculated fields in Tableau let you create new dimensions or measures using Tableau's formula language to transform, combine, or derive values from existing fields.
Question 6: What is the primary advantage of using Python's Matplotlib library over tools like Tableau?
- Easier drag-and-drop interface
- Full programmatic control and reproducibility in code-based analytical workflows (Correct answer)
- Better color palettes
- Faster rendering for large datasets
Correct answer: Full programmatic control and reproducibility in code-based analytical workflows
Matplotlib provides complete programmatic control over every chart element and integrates seamlessly into Python analytical workflows, enabling reproducible visualizations.
In Tableau, what is the difference between a 'dimension' and a 'measure'?