Creating a Plot component

We'll use our knowledge of React.js and Plotly.js to create a plot component that will show the weather forecast.

Plot component

To show our plot on the webpage, we will create a component which we’ll call Plot (what a surprise!) so lets ...