# \[Flow\] Corona country comparison with Hubei (China)

**URL:** <https://discourse.nodered.org/t/flow-corona-country-comparison-with-hubei-china/23237>\
**Category:** Share Your Projects\
**Created:** [17 March 2020 17:39 UTC](https://discourse.nodered.org/t/flow-corona-country-comparison-with-hubei-china/23237 "2020-03-17T17:39:25Z")\
**Posts on this page:** 1\
**Showing post:** 61

<div class="post-metadata">

**Author:** ![janvda](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/janvda/32/234_2.png) [@janvda](https://discourse.nodered.org/u/janvda)\
**Post date:** [28 April 2020 21:03 UTC](https://discourse.nodered.org/t/flow-corona-country-comparison-with-hubei-china/23237/61 "2020-04-28T21:03:35Z")

</div>

I have made some further improvement to my flow ([github.com/janvda/node-red-corona-comparison-hubei](https://github.com/janvda/node-red-corona-comparison-hubei)) as you can see in below example

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/c/0ce6c156284bd300c834a7cbbfffebc5d238800d.png)

The main new features:

- **running average** : it is averaging the data for a configurable number of days.

- new chart **"reproduction rate (based on new conf cases)"** : the reproduction rate at date X is defined as

Note that this is a very rough formula to calculate the reproduction rate as it gives a too pessimistic outcome in case the country is increasing the number of tests. If you want a better calculation of the reproduction rate see my other project ["COVID-19 country history charts based on total tests"](https://discourse.nodered.org/t/flow-covid-19-country-history-charts-based-on-total-tests/25356)

**Observations**

1. The number of cases dropped really rapidly in the province Hubei. Showing also a very low reproduction rate (\< 0.5) in the last month.
2. Italy is well beyond its peak. New confirmed cases and deaths are decreasing but not at the same rate as in Hubei. So the measures taken in Hubei were substantially more effective to reduce the reproduction rate compared to Italy. FYI It Italy would be as effective as Hubei then it would report the last confirmed case on 21 of May.

---

_[View the full topic](https://discourse.nodered.org/t/flow-corona-country-comparison-with-hubei-china/23237)._
