Ninja Excel BlogExcel ChartsHow to make graphs in Excel

How to make graphs in Excel

Graphics

Charts in Excel

What is a chart in Excel?

Just as they say “a picture says more than a thousand words”, a good graph says more than a table with thousands of data. Working with data and knowing how to represent it clearly and orderly in a graph is key to summarizing information and achieving your objectives. Charts in Excel are very useful tools for anyone: from your personal finances to a monthly report at work.

What are graphs for in Excel?

Communicate information as quickly and efficiently as possible. Whenever we make changes to a graph we must take that into account. When making a graph in Excel we must try to minimize the “noise” of the graph, that is, eliminate elements that do not add value to convey our objective.

How to make graphs in Excel?

Let's consider a database with the quantities of cars each brand has:

How to make graphs in excel database

Then, to make the graph, follow the following steps:

  1. Select the database range.
  2. Select the “Insert” tab and then in the “Graphics” group click on “Recommended Graphics”.
How to make graphs in excel database
  1. Selecciona el tipo de gráfico que más te acomode, en general las recomendaciones de Excel son muy acertadas.  Si no lo encuentras en las recomendaciones, ve al tipo de gráfico que buscas específicamente.
How to make graphs in excel database
  1. ¡Listo! Ya hiciste tu primer gráfico.  En este caso elegimos un gráfico de columnas porque muestra de manera clara nuestros datos.
How to make graphs in excel database

Note that the graph is on top of the spreadsheet and the data, so we can move it wherever we want and give it the size and dimensions that we deem most convenient. You can also move the graph to another sheet or spreadsheet and it will remain “tied” to the data.

Ninja Tip: You can replace step 2 with the shortcut Alt+F1 on Windows and Fn+Alt+F1 on Mac and the chart will be created with the first Excel recommendation.

To complement the general idea of graphs and how to make your first graph you can watch this video:

Types of graphs in Excel

Next, we will explain the different types of charts you can create in Excel.

Line Chart

The line graphs show a series as a set of points connected by a single line. They allow trends or changes to be identified over time. This graph is recommended when we have any time reference such as days, years, months, hours, etc.

To this type of graph we can add markers to the values to identify them more easily.

Line chart in Excel

Comparative Charts

If we have several series within a time range, we can make a graph with several series. This type allows us to compare the trend of the different series. To compare, we can use different types of charts, such as multiple lines, grouped or stacked columns, area charts, among others.

Comparison chart in Excel

control chart

A control chart is a diagram used to examine whether a process is in a stable condition, or to ensure that it remains in that condition. The structure of the graph contains a “center line” (LC), an upper line that marks the “upper limit of control” (LSC) and a lower line that marks the “lower limit of control” (LIC). These control limits mark the confidence interval within which the points are expected to fall.

This type of graph is used to determine the control status of a process, diagnose the behavior of a process over time, indicate whether a process has improved or worsened, and is used to detect problems.

Control Chart in Excel

Bar or column chart

Bar or column charts are a way to easily represent one or more numerical series through several bars of the same width, each of which represents a category of data. Therefore, the height of the bar will depend on the size of the value. 

This type of graph allows you to graph one or more data series through different formats.

Column charts are characterized by representing data in vertical columns, whereas bar charts represent data through horizontal columns.

Bar and column chart in Excel

Useful formatting edits for column charts are the width of the bars and the width of the gap. To do this, we double-click on any column and in the “Series Options” section we choose the “Series Overlay” item to define how far apart or together the columns are. In this example we will leave it at 0% which means that the columns remain together, without separation.

We can also adjust “Range Width” to define the width of the columns. In this example we will leave the width at 100%.

Bar and column chart in Excel adjusting series and width

Scatter or dot plot

The scatter graph consists of the graphic representation of a series of coordinates based on two variables, that is, we analyze the relationship between both variables, knowing how much they affect each other or how independent they are from each other. This type of graph is useful for comparing a data set with two different characteristics, such as price and quality, where each variable is represented on each axis.

Scatter or dot plot in Excel

In this type of charts it is very useful to add a trend line. This is a line that summarizes the behavior of the data and shows you the relationship between the two variables. This line is the result of a linear regression.

To incorporate this line we must:

  1. Go to the “Chart Design” tab and click on “Add Chart Element”.
Scatter or dot plot with trend line in Excel
  1. Then, we select “Trend Line” and the type of line we want. In this case we want a “Linear” because the relationship looks like a straight line.
Scatter or dot plot with trend line in Excel
  1. Click “Accept” and that's it!
Scatter or dot plot with trend line in Excel

Area Chart

The area chart is a chart in which the area between the line and the axis is shaded with a color. These charts are generally used to represent cumulative totals over time. This type of graph allows you to graph one or more data series in order to compare volumes.

Area Chart in Excel

Pie chart

The pie chart is one of the most used types of graphics because it very simply represents the proportion of a series of values to the total. This graph automatically converts values into percentages allowing easy and comfortable viewing.

Pie chart in Excel

Ninja Tip: In this type of graph it is very useful to add data labels that include both the value of the variable and the percentage of the total that they represent.

Donut Chart

The pie chart is a variation of the pie chart, both represent the percentages of each value with respect to the total. This type of graphic is increasingly used due to the aesthetics and modernity it provides visually.

Donut Chart in Excel

Rectangle chart

A rectangle chart provides a hierarchical view of the data and makes it easy to locate patterns. This tree-structured hierarchical form represents each branch with a given rectangle, which is tiled with smaller rectangles representing secondary branches.

Rectangle chart in Excel

Solar Projection Chart

The solar projection chart is used to display hierarchical data where each level of hierarchy is represented by a ring or circle, with the inner circle being the highest in hierarchy. A solar projection chart without hierarchical data is similar to a donut chart. However, if there are different categories, the solar projection graph shows how the outer rings relate to the inner rings.

Solar Projection Chart in Excel

Histogram

A histogram is a graphical representation in the form of vertical bars of the database. This graph is used to represent continuous databases, that is, data with intervals. They are used to obtain an overview of the distribution of the data. The height of the bars is proportional to the absolute or relative frequency of the data intervals. 

Histogram in Excel

Box and Whisker Plot

The box plot is used to represent a quantitative variable that, through quartiles, shows what the distribution is like, its degree of asymmetry, extreme values, the position of the median, and outliers.

Box and Whisker Chart in Excel

bubble chart

A bubble chart is a variation of a scatter chart in which the data points are replaced by bubbles and a third variable is represented. This type of graph represents the vertical and horizontal axes of values. Therefore, it allows for a better comparison than the scatter plot, for example, of price, quality and size.

Bubble chart in Excel

waterfall chart

The waterfall chart helps visualize the contribution that each piece of data makes to the total, that is, it shows whether it increased, decreased or remained the same. It is characterized by having “floating” columns.

Waterfall Chart in Excel

funnel chart

The funnel chart shows values through different phases of a process. Normally the values are distributed gradually, allowing the bars to resemble a funnel.

Funnel Chart in Excel

Surface graph

The surface chart allows multiple data series to be plotted in a 3D chart, with different colors for greater understanding. This type of graph is useful when looking for optimal combinations between different data sets. 

Surface Chart in Excel

Radial or spider chart

The radial chart allows you to compare multiple quantitative variables from different data series. Each variable is provided with an axis that starts in the center, which allows differentiating between similar and different aspects between the series.

Radial or spider chart in Excel

Combined Chart

Combo charts allow you to combine two types of charts into one to emphasize similarities or differences between data series. It is normally used to compare completely different variables.

Combo Chart in Excel

dynamic graph

Pivot charts use a pivot table as a database, therefore, when you modify the data, the changes will automatically be reflected in the chart. 

Pivot chart in Excel

3D graph

Most of the types of graphics that Excel offers can be made in 3D, that is, giving relief to shapes. This feature allows the graphics to look more modern. In the next photo we see a 3D bar graph.

3D Chart in Excel

Statistical graph

The statistical graphs that Excel offers are two, the histogram and the Pareto chart. The histogram shows the absolute frequency of the data, however, the Pareto chart is made up of a histogram plus a line that shows the behavior of the accumulated values.

Statistical graph in Excel. Histogram and Pareto Chart

Hierarchy Charts

Hierarchy charts allow you to quickly view values that stand out from the rest of the data. There are two types of graphs that show the hierarchy, the rectangle graph and the solar projection graph.

Hierarchy chart in Excel. Rectangle and solar projection graph

Sparkline in Excel

A sparkline is a small graph located in a spreadsheet cell providing a quick visual representation of the trend of the data. 

To create a sparkline in a cell follow these steps:

  1. Select the cell where you want the sparkline to be located.
  2. En la pestaña “Insertar”, en la sección “Minigráfico”, haz click en el minigráfico que más te acomode.  En este caso elegiremos el minigráfico de líneas.
Sparkline in Excel how to create it
  1. In the dialog box, choose the data range that the sparkline will use and click “OK.”
Sparkline in Excel how to create it
  1. Make a sparkline for each category and that's it! You already have your sparklines
Sparkline in Excel how to create it

Line sparklines

To have a better analysis you can mark the points for each of the data in the series. 

Excel sparkline of lines with markers

Column sparklines

Similar to the line chart as it also shows the trend of the data.

Column Sparkline in Excel

Profit and Loss Sparkline

It shows if the value is positive or negative, if it is gain the color will be blue, however, if it is loss, it will be red. In our example we do not have negative values so all the blocks are blue.

Excel Profit and Loss Sparkline

How to insert a map in Excel?

To insert a map in Excel you must use the map chart, it is used to compare values and display categories in geographic regions, such as regions or countries. 

Let's imagine that we have the following database of the population of some countries in the world.

Database to insert map in excel

 We want to graph this data on a map, for this, we must follow the following steps:

  1. Select the database and in the “Insert” tab click on “Recommended graphics”.
How to insert a map in Excel with the map chart
  1. In the dialog box, select the map graphic that appears, then click “OK.”
How to insert a map in Excel with the map chart
  1. Ready! You have now created your first map graphic.
How to insert a map in Excel with the map chart

How to insert a timeline in Excel?

The pivot table timeline allows you to quickly filter by date and time and zoom in on the period you want with a slider over time.

Let's assume the following database:

Database to insert timeline in excel

To create the timeline you must follow the following steps:

  1. Select the database, in the “Insert” tab click on “Recommended pivot tables” and click “OK”.
How to insert a timeline in Excel by creating a dynamic tab
  1. Modify the pivot table according to your needs, but you must insert the dates in the “Filters”.
How to insert a timeline in Excel by creating a dynamic tab
  1. Posiciónate en cualquier lugar de la tabla dinámica y en la pestaña “Analizar” haz click en  “Insertar escala de tiempo”.
How to insert a timeline in Excel by creating a dynamic tab
  1. ¡Listo! Ya creaste tu primera escala de tiempo.  Ahora puedes ver las ventas de acuerdo a la fecha seleccionada.
How to insert a timeline in Excel by creating a dynamic tab

Conclusions

Charts are a fundamental Excel tool since they allow you to visually and quickly represent a database. In addition, Excel has a great diversity of types of graphs, making it a widely used and complete tool.

Frequent questions

How to make a percentage graph in Excel?

As we saw previously, the graphs that reflect the percentages of a database with respect to the total are pie charts or donut charts. Both graphs automatically assign the percentage that corresponds to each category.

What is a multiple chart in Excel?

A multiple chart or combined chart is to unite two types of charts into one, generally the column chart and the line chart are used to represent different data series. 

What formats can you modify in a chart in Excel?

To achieve a complete and professional graph, you can modify it:

  1. El título: Para cambiarlo haz click en el título y podrás editarlo a tu manera.  También puedes hacer que el título sea igual a una celda, para esto debes hacer click en el título y escribir “=” más la celda que queramos en la línea de funciones.
How to modify the title of an Excel chart
  1. Colors: Right click on one of the columns and select the option “Format data series” then, we click on the paint jar that indicates “Fill and line” and in the “Fill” section you can choose the color that you want. you want.
How to modify the colors of an Excel chart
  1. Etiqueta de los datos:  Haz click en el gráfico y en la pestaña “Diseño de gráfico” haz click en “Agregar elemento al gráfico” luego selecciona “Etiqueta de datos” y seleccionamos “Extremo Externo” para que aparezcan fuera de cada barra.
How to modify data labels in an Excel chart

Editing other aspects: Sometimes the format that Excel gives to graphs is not our favorite. To edit any aspect that we don't like, we can double click on it and open the side menu to edit it to our liking. You can edit:

  • The overall graph
  • Title
  • Axis titles
  • The axes (vertical and horizontal)
  • All series
  • The legend
  • Plot area
  • Division lines
  • Any other aspect of the chart that you can see

To see another example of graphics editing you can watch the following videos:

Frequent questions

How to create a dynamic chart?

You must select a cell in the table 2. Then INSERT > PivotChart 3. Click OK

How to make a graph in Excel step by step?

Go to data for the chart 2. Click Insert > Recommended Charts 3. Choose your preferred chart 5. Click OK.

How do you make a graph in Excel?

Select the cell range 2. Click INSERT > RECOMMENDED CHART 3. Select the chart type 4. Click OK. And ready!

What are the types of charts in Excel?

1. Column and bar chart
2. Hierarchy chart
3. Waterfall Chart
4. Line chart
5. Area chart
6. Statistics graph
7. Pie and donut chart
8. Scatter and bubble chart
9. Surface or radial graph
10. Combo Chart

English