3.7 Pie Chart
This is the last component of our project: a pie chart showing the distribution of file types in the HAR file. D3 is our library of choice to build the pie chart, naturally. We will see how we can wrap the D3 code inside a React component. The pie chart will also animate changes to its data when we select a new HAR file.