Using a logarithmic scale to represent COVID-19 growth

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
9 replies · 3K views
TL;DR
I came across this interesting thread showing the difference between linear and logarithmic scales when visualizing coronavirus infections.
The author, John Burn-Murdoch, shows here ( https://threadreaderapp.com/thread/1237748598051409921.html ) how the logarithmic scale can give a better "sense" of what is happening. In linear scales, some countries' data is squashed to almost nonexistent, while others explode out of control.

I wasn't sure where the best place to post this - I thought it was interesting and wanted to share.
 
  • Like
Likes   Reactions: OmCheeto
Physics news on Phys.org
I agree that the log scale is more informative. This site has a lot of good information, and allows you to toggle back and forth between linear and log scales. Note that on a log scale the total cases outside of China has been growing exponentially since February, and shows no sign of departing from a straight line (exponential growth).
Cases.png
 
  • Informative
Likes   Reactions: scottdave
phyzguy said:
I agree that the log scale is more informative. This site has a lot of good information, and allows you to toggle back and forth between linear and log scales. Note that on a log scale the total cases outside of China has been growing exponentially since February, and shows no sign of departing from a straight line (exponential growth).
View attachment 258928
I'd be interested in seeing what this looks like on a log-log scale plot. Any chance you would consider doing that?
 
Chestermiller said:
I'd be interested in seeing what this looks like on a log-log scale plot. Any chance you would consider doing that?
I don't actually have easy access to the data to re-plot it. Why are you interested in that? Exponential growth should be a straight line on a log-linear plot, and it looks like that is what we are seeing.
 
phyzguy said:
I don't actually have easy access to the data to re-plot it. Why are you interested in that? Exponential growth should be a straight line on a log-linear plot, and it looks like that is what we are seeing.
I don't know why. I just like to look at the data in different ways, and I though that it would even be straighter on a log-log plot.
 
A logarithmic date axis? It doesn't even have a well-defined zero to use.

It won't make anything look straight. It will compress the time where the cases explode even more.
 
  • Like
Likes   Reactions: jim mcnamara
Chestermiller said:
I’d still like to see what the log-log plot looks like.
By putting both axes on a log scale, the general shape should go back (from the log-plot) to the exponential shape. Both axes of the original plot will be distorted similarly. But I think that the log of the time axis will be hard to use or interpret.
 
Last edited:
  • Like
Likes   Reactions: Janosh89
Chestermiller said:
I’d still like to see what the log-log plot looks like.
I got the numbers from the source code of the webpage.
coronaloglog.png

All logs to base 10. Note that the point where the growth starts to increase at 1.47 or so is at about 20 february
 
  • Like
Likes   Reactions: jim mcnamara and Chestermiller