React, Data Visualization, JavaScript.
=> this.setState({ N: N + 1000 })); } }; showMoreData uses this.setState to increase the amount of data we're showing in increments of 1000. The bit that creates time slicing is that this.setState is wrapped in a requestAnimationFrame call, which makes it async. I also experimented with