Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add lines for number of days for doubling the cases #82

Closed
mandarpotdar opened this issue Apr 9, 2020 · 4 comments · Fixed by #130
Closed

Add lines for number of days for doubling the cases #82

mandarpotdar opened this issue Apr 9, 2020 · 4 comments · Fixed by #130
Assignees
Milestone

Comments

@mandarpotdar
Copy link

In this graph (https://aatishb.com/covidtrends/), can you add lines which indicate how many days it takes to double the cases? For eg, the line US is following indicates doubling every 5-6 days. A parallel line below it would indicate, say, 10 day doubling.
Regards,
Mandar

@aatishb
Copy link
Owner

aatishb commented Apr 9, 2020

Thanks for suggesting this. I agree that this is an important addition to help people understand the graph. I'm thinking we add trend lines for doubling every 2 days, 5 days, 10 days -- although we can adjust these by eye to see what doubling times work best. The goal would be to capture the variability as well as an approximate 'global best fit' in the data.

@mandarpotdar
Copy link
Author

@HelgeStenstrom
Copy link

How can you add a trend line for doubling every n days, if there is no time axis?

@aatishb
Copy link
Owner

aatishb commented Apr 10, 2020

Growth that doubles every n days is a specific exponential growth curve (the doubling time is related to the exponential growth rate). In the log-log graph, exponential growth curves are displayed as diagonal lines with the same slope, but shifted up or down depending on their growth rate (i.e. doubling time). So basically these trend lines on the log-log curve would all have the same slope, but shifted up and down. On the linear curve the trend lines would have different slopes, like in the image above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants