Charts and Graphs


Charts and Graphs Interview with follow-up questions

1. Can you describe the steps to create a chart in Excel?

  1. Select your data — highlight the cells you want to include, with headers in the first row. Including headers lets Excel automatically label the chart axes and legend.

  2. Insert the chart — go to Insert → Charts and choose a chart type from the gallery. For quick recommendations, click Insert → Recommended Charts and Excel suggests chart types suited to your data shape.

  3. Choose a chart type — common types and when to use them:

    • Column / Bar — comparing categories
    • Line — showing trends over time
    • Pie / Donut — part-to-whole relationships (limit to ~5 segments)
    • Scatter — correlation between two numeric variables
    • Combo — two chart types on one chart (e.g., columns + line with dual axes)
  4. Customize using the Chart tabs — when the chart is selected, the Chart Design and Format tabs appear in the ribbon:

    • Add a chart title, axis titles, and data labels via Chart Design → Add Chart Element.
    • Change colors and styles via Chart Design → Chart Styles.
    • Click the + (Chart Elements) button on the chart for quick access to gridlines, legend, trendlines, and error bars.
  5. Move or resize — drag the chart to reposition it; drag the corner handles to resize. Use Chart Design → Move Chart to place it on its own dedicated sheet.

Modern tip: In Excel 365, if your data is in an Excel Table, the chart updates automatically when you add rows to the table — no need to manually extend the chart's data source.

↑ Back to top

Follow-up 1

What types of data are best visualized using a line chart?

Line charts are best suited for visualizing data that shows trends over time or continuous data. They are commonly used to display stock prices, temperature variations, sales trends, and other data that changes over a continuous range. Line charts are effective in showing the relationship between two variables and identifying patterns or changes in the data.

Follow-up 2

What is the purpose of a pie chart?

The purpose of a pie chart is to represent the proportion or percentage distribution of different categories within a whole. It is useful for displaying data with discrete categories and comparing their relative sizes. Pie charts are commonly used to show market share, budget allocation, survey responses, and other data where the parts make up a whole. Each category in a pie chart is represented by a slice, and the size of each slice corresponds to the proportion it represents.

Follow-up 3

How can you customize the appearance of a chart in Excel?

To customize the appearance of a chart in Excel, you can do the following:

  1. Select the chart and go to the 'Chart Design' or 'Chart Format' tab in the Excel ribbon.
  2. Use the options available to change the chart type, layout, color scheme, and style.
  3. Modify the chart elements such as titles, axis labels, legends, and data labels.
  4. Adjust the formatting options for the chart elements, including fonts, colors, borders, and backgrounds.
  5. You can also add chart elements like trendlines, data tables, or error bars to enhance the chart's visual representation.
  6. Experiment with different customization options until you achieve the desired appearance for your chart.

Follow-up 4

What is a scatter plot used for in Excel?

A scatter plot is used in Excel to visualize the relationship between two variables. It is particularly useful for identifying patterns, trends, or correlations between the variables. Scatter plots are commonly used in scientific research, data analysis, and quality control to analyze data points and determine if there is a relationship between the variables. Each data point in a scatter plot represents the values of the two variables, and the position of the point on the chart indicates their relationship.

2. How would you use charts and graphs to analyze data in Excel?

Charts and graphs transform raw numbers into a visual form that makes patterns, trends, and outliers immediately apparent. Here is how to use them effectively for analysis:

Choose the right chart type for the question:

  • Line chart — track a metric over time and spot trends or seasonality.
  • Bar/column chart — compare values across categories; sort bars descending to make rankings obvious.
  • Scatter plot — explore correlation between two numeric variables.
  • Histogram — understand the distribution and spread of a single variable.
  • Box and whisker plot (available in Excel 2016+) — show median, quartiles, and outliers simultaneously.

Analytical techniques:

  • Trendlines — right-click a data series → Add Trendline to overlay a linear, exponential, or polynomial trend; display the R² value to assess fit.
  • Dual-axis charts — combine two data series with very different scales on the same chart using a secondary Y-axis (right-click a series → Format Data Series → Secondary Axis).
  • Slicers on PivotCharts — filter the chart interactively by region, time period, or category without rebuilding it.
  • Sparklines — tiny in-cell charts (Insert → Sparklines) that show trends per row, useful in dashboards where space is limited.

Excel 365 additions:

  • Copilot can suggest and create charts from natural language prompts ("create a bar chart of sales by region").
  • Dynamic array formulas like SORT and FILTER can prepare chart-ready data without helper columns.

The key interview point: always match the chart type to the analytical question, not just to make the data look impressive.

↑ Back to top

Follow-up 1

Can you give an example of a situation where a bar chart would be more effective than a pie chart?

A bar chart is more effective than a pie chart when you want to compare values across different categories or groups. For example, if you have sales data for different products in a given year, a bar chart would be more suitable to compare the sales of each product. Each bar in the chart represents a product, and the height of the bar represents the sales value. This allows you to easily compare the sales of different products and identify the highest or lowest performing products.

On the other hand, a pie chart is more suitable when you want to show the proportion or percentage of each category within a whole. For example, if you want to show the market share of different companies in a specific industry, a pie chart would be more appropriate. Each slice of the pie represents a company, and the size of the slice represents the proportion of market share.

Follow-up 2

How would you use a chart to identify trends in a data set?

To use a chart to identify trends in a data set, you can follow these steps:

  1. Select the data range that you want to include in the chart.
  2. Go to the 'Insert' tab in the Excel ribbon.
  3. Choose the type of chart that best represents the data and the trend you want to analyze. Line charts are commonly used for trend analysis.
  4. Customize the chart by adding titles, labels, and formatting options.
  5. Analyze the chart by observing the pattern of the data points over time or across categories.

By using a line chart, for example, you can easily identify upward or downward trends, seasonal variations, or any other patterns in the data set. The chart provides a visual representation of the data, making it easier to spot trends and draw conclusions.

Follow-up 3

What is the advantage of using a chart or graph over a table of raw data?

Using a chart or graph has several advantages over a table of raw data:

  1. Visual representation: Charts and graphs provide a visual representation of the data, making it easier to understand and interpret. They can reveal patterns, trends, and relationships that may not be immediately apparent in a table of numbers.
  2. Simplified communication: Charts and graphs simplify the communication of complex data. They can convey information more effectively and efficiently than a table of raw data, especially when presenting to an audience who may not be familiar with the data.
  3. Easy comparison: Charts and graphs allow for easy comparison of data points. They enable you to quickly identify the highest or lowest values, compare different categories or groups, and draw meaningful conclusions.
  4. Highlighting trends: Charts and graphs are particularly useful for highlighting trends and patterns in the data. They make it easier to identify upward or downward trends, seasonal variations, and other patterns.

Overall, using charts and graphs enhances data analysis and presentation by providing a visual and intuitive representation of the data.

3. What is the difference between a chart and a graph in Excel?

In Excel's terminology, chart and graph are used almost interchangeably — Excel itself uses the word "chart" for all visual data representations. There is no dedicated "graph" type in the Insert menu.

Technically, the distinction comes from mathematics and data visualization theory:

  • A graph typically refers to a diagram that shows the relationship between two variables plotted on axes (e.g., a line graph or scatter plot), often implying a mathematical function or correlation.
  • A chart is a broader term that includes any visual encoding of data — bar charts, pie charts, maps, gauges, etc. — not all of which imply a mathematical relationship between axes.

In practice for Excel interviews:

  • Excel calls everything a "chart," including what you might casually call a "line graph."
  • Common chart types that map to the "graph" concept: Line, Scatter (XY), and Area charts — these show how one variable relates to another, typically over time or across a continuous range.
  • Purely comparative visualizations like Pie, Bar/Column, Treemap, and Sunburst are charts in the broader sense but not typically called graphs.

The safe answer in an interview: acknowledge that Excel uses "chart" universally, and explain that the distinction in general usage is that graphs show mathematical relationships between variables while charts encompass all visual data representations including those without axes.

↑ Back to top

Follow-up 1

Can you give an example of a situation where a graph would be more appropriate than a chart?

A graph would be more appropriate than a chart in situations where you want to show the relationship between two or more variables. For example, if you want to visualize the trend of sales over time, a line graph would be more suitable as it can show the changes in sales over a period of time. On the other hand, a chart such as a bar chart or a pie chart would be more appropriate when you want to compare different categories or parts of a whole.

Follow-up 2

How can you switch between different chart types in Excel?

To switch between different chart types in Excel, you can follow these steps:

  1. Select the chart you want to modify.
  2. Go to the 'Design' tab in the Excel ribbon.
  3. In the 'Type' group, click on the 'Change Chart Type' button.
  4. The 'Change Chart Type' dialog box will appear, showing a list of available chart types.
  5. Select the desired chart type from the list.
  6. Click 'OK' to apply the changes and switch to the selected chart type.

Follow-up 3

What factors do you consider when choosing between a chart and a graph?

When choosing between a chart and a graph, there are several factors to consider:

  1. Data type: If you have numerical data and want to show the relationship between variables, a graph may be more appropriate. If you have categorical data or want to compare different categories, a chart may be more suitable.
  2. Purpose: Consider the purpose of your visualization. Are you trying to show trends over time, compare different categories, or display proportions? This can help determine whether a graph or a chart is more suitable.
  3. Audience: Consider the knowledge and preferences of your audience. Some people may find graphs easier to interpret, while others may prefer charts.
  4. Visual appeal: Consider the visual impact you want to create. Graphs can be visually appealing for showing trends and patterns, while charts can be visually appealing for comparing categories or parts of a whole.

4. How can you add a trendline to a chart in Excel?

A trendline overlays a best-fit line on a data series to visualize the overall direction and rate of change.

Steps to add a trendline:

  1. Click the chart to select it, then click the specific data series you want to add the trendline to.
  2. Click the + (Chart Elements) button that appears to the right of the chart.
  3. Check Trendline. Excel adds a linear trendline by default.
  4. To change the type, click the arrow next to Trendline and choose More Options to open the Format Trendline pane.

Trendline types and when to use them: | Type | Use case | |------|---------| | Linear | Data that increases or decreases at a steady rate | | Exponential | Data that rises or falls at an accelerating rate (e.g., compound growth) | | Logarithmic | Data that changes quickly then levels off | | Polynomial | Data with multiple curves (specify the degree) | | Power | Data that follows a power-law relationship | | Moving Average | Smooth out volatility in time-series data (specify the period) |

Format Trendline options:

  • Display Equation on chart — shows the formula for the trendline (e.g., y = 2.3x + 14.7).
  • Display R-squared value — shows the goodness-of-fit (0 to 1; closer to 1 means the trend explains more of the variance).
  • Forecast Forward/Backward — extends the trendline beyond the data range to project future or past values.

A trendline is visual only — to calculate projected values in cells, use FORECAST.LINEAR or TREND functions.

↑ Back to top

Follow-up 1

What is the purpose of a trendline?

The purpose of a trendline is to visually represent the general direction and pattern of data in a chart. It helps to identify and analyze trends, patterns, and relationships between variables. Trendlines are commonly used in data analysis and forecasting to make predictions and draw conclusions.

Follow-up 2

How can you customize the appearance of a trendline in Excel?

To customize the appearance of a trendline in Excel, follow these steps:

  1. Select the chart with the trendline.
  2. Right-click on the trendline and choose 'Format Trendline' from the context menu.
  3. In the 'Format Trendline' pane, you can customize various aspects of the trendline, such as line style, line color, line thickness, marker type, marker size, etc.
  4. Make the desired changes to the trendline appearance.

Here is an example of customizing the appearance of a trendline in Excel:

1. Select the chart.
2. Right-click on the trendline.
3. Choose 'Format Trendline'.
4. In the 'Format Trendline' pane, customize the appearance options.

Follow-up 3

What types of data are best represented with a trendline?

Trendlines are best suited for representing data that shows a general trend or pattern over time or across different variables. They are commonly used in time series analysis, financial analysis, and scientific research. Trendlines can be used to analyze and predict trends, growth rates, and relationships between variables. However, it is important to note that trendlines should be used with caution and should not be solely relied upon for making accurate predictions or decisions.

5. Can you explain how to create a dual axis chart in Excel?

A dual-axis (secondary axis) chart places two data series on the same chart with independent Y-axes — useful when the series have very different scales (e.g., revenue in millions alongside a percentage).

Steps to create a dual-axis chart:

  1. Select your data and insert a chart (typically a column or line chart).
  2. Right-click the data series you want to move to the secondary axis.
  3. Choose Format Data Series from the context menu.
  4. In the Format Data Series pane, under Series Options, select Secondary Axis.
  5. Optionally, change that series to a different chart type: right-click it → Change Series Chart Type → select Line (this creates the classic "combo" chart with columns on the primary axis and a line on the secondary).

Alternative — Recommended Charts shortcut:

  1. Select your data.
  2. Go to Insert → Recommended Charts → All Charts → Combo.
  3. Excel shows a combo chart builder where you assign each series its chart type and whether it uses the primary or secondary axis.

Formatting tips:

  • Label each Y-axis clearly (Chart Elements → Axis Titles → Secondary Vertical).
  • Use contrasting colors and a legend so readers can distinguish which series belongs to which axis.
  • Limit to two axes — charts with more are confusing and Excel does not support more than two Y-axes natively (workarounds exist but are complex).

Common interview follow-up: When would you use a dual-axis chart vs. two separate charts? A dual axis works when the relationship between the two series is the analytical point (e.g., ad spend vs. conversion rate). Separate charts are better when the series are independent and you do not want readers to infer a relationship.

↑ Back to top

Follow-up 1

Why might you want to use a dual axis chart?

There are several reasons why you might want to use a dual axis chart:

  1. Comparing two different scales: A dual axis chart allows you to compare two different scales on the same chart. For example, you can compare sales revenue and profit margin, which may have different units of measurement.
  2. Showing relationships between variables: A dual axis chart can help you visualize the relationship between two variables that have different scales or units. This can be useful for identifying correlations or patterns.
  3. Highlighting trends or patterns: By using a dual axis chart, you can highlight trends or patterns that may not be apparent when using a single axis chart.

Overall, a dual axis chart provides a more comprehensive view of your data by combining multiple variables on a single chart.

Follow-up 2

What types of data are best represented with a dual axis chart?

A dual axis chart is best suited for representing data that has different scales or units of measurement. Some examples of data that are best represented with a dual axis chart include:

  1. Sales revenue and profit margin
  2. Temperature and precipitation
  3. Stock price and trading volume
  4. Customer satisfaction and number of complaints

These are just a few examples, but any data that has different scales or units can benefit from being visualized using a dual axis chart.

Follow-up 3

What are the potential pitfalls of using a dual axis chart?

While dual axis charts can be useful, there are some potential pitfalls to be aware of:

  1. Misinterpretation of data: If the scales or units on the two axes are not clearly labeled, it can lead to misinterpretation of the data. Make sure to clearly label each axis and provide a legend if necessary.
  2. Overlapping data: If the data series on the two axes overlap too much, it can make the chart difficult to read. Consider using different chart types or adjusting the scales to avoid overlapping.
  3. Complexity: Dual axis charts can be more complex to create and interpret compared to single axis charts. Make sure to carefully design and explain the chart to avoid confusion.

By being aware of these potential pitfalls and taking steps to address them, you can effectively use dual axis charts to visualize your data.

Live mock interview

Mock interview: Charts and Graphs

Intermediate ~5 min Your own free AI key

Your voice and your AI key never touch our servers; the key stays in this browser and is sent only to Google. Only your round scores are saved to track progress.