Chapter 6 Interactive component
This is an interactive Cleveland dot plot. It has a timeline which can be dragged. It can also be played in the form of animation. We use the plotly package in this part which is using plotly.js (Built on top of d3.js and stack.gl) to realize interactive functions.
This plot is ordered by cumulative confirmed cases. From this graph, we can see both cumulative and cured cases and the gap ofthem. We are able to know about the severity of the epidemic in each province and which province needs more medical resources.