In this tutorial, we’re going to be making a scatterplot of Timberwolves players’ shooting percentages compared to number of shots they take per game. Ideally, we’d want the best shooters taking the most shots. This is mostly what we see.
Here’s the finished product before we start:
We get our data from basketball-reference.com. Let’s download it as an Excel file.
Now the fun part! Go app.flourish.studio and make a new account if you don’t have one already. Then, click ‘New visualization’ in the top left.
We’re going to use a scatterplot.
Next, go into the data tab and click ‘Upload data’. Then, select the columns you want graphed.
For this project, we’re going to display the shooting percentage (specifically EFG%) on the x-axis and shot attempts on the y-axis. Let’s also select the players’ names as the data points’ labels.
Et voila! We could stop here, but the plot’s pretty ugly. Fortunately, Flourish offers a ton of customization in the menus on the right. Let’s do some beautification.
Much better. There’s less clutter, and the size of the points now corresponds to minutes played. But who’s who? We have to hover over the circles to see the players’ names. It would be nice if we could add point labels. Flourish does have a quick way to do that in the chart menus, but it quickly gets crowded. The points are too close together, the labels overlap, and you can’t read most of the names on the bottom half.
In order to label only specific points, we nee to make what Flourish calls a story. We do that by clicking the ‘Create a story’ button in the top right. In the resulting screen, we can click on individual points to show or hide their labels.
We could spend a ton of time fussing over minutia, but that’s good enough for now. Time to publish and embed!