How to Plot Log Log Graph in Excel (2 Suitable Examples)

Overview of a Logarithmic Scale

In the figure below, you can see that the population is increasing at a steeper rate from 1900-to 2000 in the world. The graph is more stretched vertically and makes it difficult to get insights.

Plot Log Log Graph in Excel

We created a logarithmic scale version of the above graph below.

Plot Log Log Graph in Excel

From the logarithmic graph, we can get a better overview of the lower values.

Read More: Excel Logarithmic Scale Start at 0 


Fundamentals of a Log-Log Graph

We can plot a log-log graph using Excel quite easily by tweaking some axis format options. In the log-log graph, both of the axes are on a logarithmic scale. This graph demonstrates whether the variables are in a constant power relationship, just like the equation Y = mX^n. Here the X is in the power of n relation with the Y. If we have created a dataset from this equation and plotted the data in logarithmic scale, then the line should be straight.

Plot Log Log Graph in Excel


Example 1 – Plotting a Log-Log Graph of Weekly Covid-19 Cases in Louisiana in Excel

Steps

  • Prepare the dataset. We collected the covid death data online in Louisiana.
  • From the Insert tab, go to the Charts group and click on the Scatter Chart command.

Log-Log Graph Plot of Weekly Covid Case in Excel

  • You’ll get a new empty chart.
  • Right-click on the chart and, from the context menu, select the Select data command.

Log-Log Graph Plot of Weekly Covid Case in Excel

  • You’ll get a new window named Select Data Source. Click on the Add command icon.

Log-Log Graph Plot of Weekly Covid Case in Excel

  • Select the range of cells that will be taken as data for the X-axis and the Y-axis.
  • To put the title, select the cell address that holds the cell name at this moment.
  • In the second range box, select the range of cells D5:D24.
  • In the third range box, enter the range of cells B5:B24.
  • Click OK.

  • After selecting the address, the Scattered chart will form. The chart will be difficult to read and there will be no format on the axis with no axis option title.
  • Click on the Chart Elements icon on the corner of the chart, then tick the necessary boxes like Axis Title, Chart Title, and Legends

Log-Log Graph Plot of Weekly Covid Case in Excel

  • To create the logarithmic graph, click on the Horizontal Axis labels and then right-click.
  • Click on Format Axis.

Log-Log Graph Plot of Weekly Covid Case in Excel

  • From the Format Axis side panel, tick the Logarithmic scale box under the Axis Options.
  • Set Vertical Axis crosses to Automatic.

  • Repeat the process of turning the logarithmic scale box for the vertical axis.
  • This will turn the chart into a logarithmic graph. After some modifications, the log-log graph will look like the one below.

Log-Log Graph Plot of Weekly Covid Case in Excel

Read More: How to Plot Log Scale in Excel


Example 2 – Plotting a Log-Log Graph of Male and Female Casualties from Covid-19

Steps

  • Prepare the dataset. We collected the Covid death data for both males and females in Louisiana.

Log-Log Graph Plot of Weekly Covid Case in Excel

  • From the Insert tab, go to the Charts group and click on the Scatter Chart command.

Plotting Log-Log Graph of Male and Female Casualties in Covid-19 in Excel

  • You’ll get a new blank chart.
  • Right-click on the chart and select the Select data command.

Plotting Log-Log Graph of Male and Female Casualties in Covid-19

  • You’ll get a window named Select Data Source. Click on the Add command icon.

Plotting Log-Log Graph of Male and Female Casualties in Covid-19

  • Select the range of cells that will be taken as data for the X-axis and the Y-axis.
  • Select the cell address that holds the cell name.
  • In the second range box, select the range of cells D5:D44.
  • In the third range box, enter the range of cells C5:C44.
  • Click OK.

Plotting Log-Log Graph of Male and Female Casualties in Covid-19

  • Similarly, select the female column data into the chart.
  • In the second range box, select the range of cells D5:D44.
  • In the third range box, enter the range of cells B5:B44 and then click OK.

  • The scatter chart will form. The chart will be difficult to read and there will be no format in the axis with no axis title.
  • We need to enable the Logarithmic scale in the Format axis option.
  • Click on the Chart Elements icon on the corner of the chart, then tick the necessary boxes like Axis Title, Chart Title, and Legends.

Log-Log Graph Plot of Weekly Covid Case in Excel

  • To create the logarithmic graph, click on the Horizontal Axis labels and then right-click.
  • Click on Format Axis.

Log-Log Graph Plot in Excel

  • A new side panel will open. From the Format Axis side panel, tick the Logarithmic scale box under the Axis Options.
  • Set Vertical Axis crosses to Automatic.

  • The log-log graph will somewhat look like this with a few modifications.

Plotting Log-Log Graph of Male and Female Casualties in Covid-19

Read More: How to Log Transform Data in Excel 


How to Plot a Semi-Log Graph in Excel

A semi logarithmic graph has only one logarithmic scale applied on one axis, usually applied to the vertical axis.

Steps

  • Prepare the dataset. We collected the Population of the Earth between 700 AD to 2000 AD. We can also see that the population increases at almost an exponential rate.

Plot Excel Semi-Log Graph of Population

  • From the Insert tab, go to the Charts group and then click on the Scatter Chart command.

Plot Excel Semi-Log Graph

  • You’ll get a new empty chart.
  • Right-click on the chart and select the Select data command.

  • You’ll get a new window named Select Data Source. Click on the Add command icon.

  • Select the range of cells that will be taken as data for the X-axis and the Y-axis.
  • To put the title, select the cell address that holds the cell name at this moment.
  • In the second range box, select the range of cells D5:D44.
  • In the third range box, enter the range of cells C5:C44, then click OK.

  • After selecting the address, the Scatter chart will form. The chart will be difficult to read and there will be no format on the axis.
  • Click on the Chart Elements icon on the corner of the chart, then tick the necessary boxes like Axis Title, Chart Title, and Legends.

  • Click on the Vertical Axis labels and right-click.
  • Click on Format Axis.

Plot Excel Semi-Log Graph of population

  • From the Format Axis side panel, tick the Logarithmic scale box under the Axis Options.
  • Set Vertical Axis crosses to Automatic.

  • The semi-logarithmic graph will look like the one below after minor formatting changes.

Plot Log Log Graph in Excel

Read More: How to Do Inverse Log in Excel 


Download the Practice Workbook


Related Articles


<< Go Back to Excel LOG Function | Excel Functions | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Rubayed Razib Suprov
Rubayed Razib Suprov

Rubayed Razib, holding a BSC degree in Naval Architecture & Engineering from Bangladesh University of Engineering and Technology, serves as a devoted member of the ExcelDemy project. He has contributed significantly by authoring numerous articles and showcasing proficiency in VBA. Razib efficiently automates Excel challenges using VBA macros and actively participates in the ExcelDemy forum, providing valuable solutions for user interface challenges. Apart from creating Excel tutorials, he is interested in Data Analysis with MS Excel,... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo