Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the loginizer domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/visua148/public_html/wp2/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the all-in-one-wp-security-and-firewall domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/visua148/public_html/wp2/wp-includes/functions.php on line 6114

Warning: Cannot modify header information - headers already sent by (output started at /home/visua148/public_html/wp2/wp-includes/functions.php:6114) in /home/visua148/public_html/wp2/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/visua148/public_html/wp2/wp-includes/functions.php:6114) in /home/visua148/public_html/wp2/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/visua148/public_html/wp2/wp-includes/functions.php:6114) in /home/visua148/public_html/wp2/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/visua148/public_html/wp2/wp-includes/functions.php:6114) in /home/visua148/public_html/wp2/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/visua148/public_html/wp2/wp-includes/functions.php:6114) in /home/visua148/public_html/wp2/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/visua148/public_html/wp2/wp-includes/functions.php:6114) in /home/visua148/public_html/wp2/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/visua148/public_html/wp2/wp-includes/functions.php:6114) in /home/visua148/public_html/wp2/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/visua148/public_html/wp2/wp-includes/functions.php:6114) in /home/visua148/public_html/wp2/wp-includes/rest-api/class-wp-rest-server.php on line 1893
{"id":967,"date":"2016-02-27T18:11:16","date_gmt":"2016-02-27T23:11:16","guid":{"rendered":"http:\/\/visual-baseball.com\/wordpress\/?p=967"},"modified":"2024-11-14T22:33:26","modified_gmt":"2024-11-14T22:33:26","slug":"baseball-grafika-book-dashboards-in-excel","status":"publish","type":"post","link":"https:\/\/visual-baseball.com\/wp2\/2016\/02\/27\/baseball-grafika-book-dashboards-in-excel\/","title":{"rendered":"Baseball Grafika Book: Excel Dashboards"},"content":{"rendered":"

Baseball stats are ideally suited for display using a wide variety of charts, network graphs, and other visualization approaches. This is true whether we are using spreadsheet tools such as Microsoft Excel or OpenOffice Calc, data mining tools like Orange, RapidMiner or R, network analysis software such as Gephi and Cytoscape, or web-based visualization tools like D3 or Tableau Public. The sheer scope and variety of available baseball statistics can be brought to life using any one of these or countless other tools.<\/p>\n

This is why I felt the need to create a book merging the rich statistical and historical data in the baseball archive with the advanced analytic and visual capabilities of the aforementioned tools. With a bit of good luck and perseverance, the book will be published in late April, coinciding with the early stages of the 2016 baseball season, under the title Baseball Grafika<\/em><\/strong>. This series of articles will share a few pieces from the book, which is still undergoing additions and revisions at this stage. I hope these will help provide some insight into how I view the possibilities for visualization, and perhaps generate your interest for how other datasets could benefit from a similar approach.<\/p>\n

One of the chapters of the book deals with the creation of dashboards in Excel that allow us to distill large datasets into a single page summarizing information. Here’s an example of a single pennant race, and how it’s unique story can be told using an array of charts, tables, and graphics.<\/p>\n

\"AL_1967_5\"<\/p>\n

Now that we’ve seen an entire dashboard, we’ll look at the component pieces and how they were built. As a reminder, this is all created in Excel, which is often maligned as a visualization tool. Used well, Excel can produce highly effective visualizations, although deploying them to the web is not practical. In the book, I walk through how to create this dashboard using Excel, taking readers through all the steps needed to create formulas, charts, text summaries, and more.<\/p>\n

Creating flexible, powerful data displays in Excel frequently involves the use of pivot tables and slicers (filters) that allow for data manipulation. Building charts on top of these tools permits maximum flexibility. Done effectively, this means we can create a template that can be used over and over, with only the source data changing according to our slicer selections. Here’s an example pivot table with slicer options:<\/p>\n

\"team_pivot\"<\/p>\n

The slicer selections allow us to choose the data elements from our base dataset that are to be displayed in a pivot table. From there, name ranges and formulas can be used to select the data programatically, and feed it into charts that are not dependent on any additional manual intervention. One chart, used over and over, makes it simple to display new data with a single click of a slicer button.<\/p>\n

Name ranges can be used extensively to automate the dashboard to a high degree, using native Excel functionality. Here’s a screenshot showing a name being defined in Excel:<\/p>\n

\"Excel_name_range\"<\/p>\n

A virtually unlimited number of name ranges can be created, and then used as references in Excel cell formulas, making it easy to populate cells, tables, or charts with updated information.<\/p>\n

Each of the following sections of the final dashboard are populated using one or more name ranges based on pivot table data in most cases. All that is required in the dashboard is a simple formula to grab the right data based on the slicer selection.<\/p>\n

First, we create a basic text summary recapping each season, which is then pulled into the top section of the dashboard:<\/p>\n

\"AL_1967_1\"<\/p>\n

This is then followed by the pennant race section of the dashboard, including both the pennant race charts as well as a table of season-ending standings information. One pivot table and its references populate the chart, while a second pivot is used to provide the table data, with cell-level formulas performing calculations.<\/p>\n

\"AL_1967_2\"<\/p>\n

Our third section makes use of the wonderful Sparklines for Excel<\/a> add-in. Our dashboard benefits from the use of horizon and variance charts, as well as box plots. In between, we’re able to add some additional Excel cell calculations to display metric values.<\/p>\n

\"AL_1967_3\"<\/p>\n

The final section of the dashboard takes advantage of some cell formulas to create dotplots displaying relative values within a category. This allows readers to see who was higher or lower in a specific measure, maximizing space along the way, which is often critical when building dashboards.<\/p>\n

\"AL_1967_4\"<\/p>\n

The book will provide much more, including tutorials on creating this type of dashboard, in addition to other visual displays of baseball information. Ultimately, the goal is to share some of my approaches and hope that they drive others to create their own unique approaches, all in the interest of advancing the discipline of baseball data visualization.<\/p>\n

Future posts will examine other ways we can explore our baseball data. Text mining, statistical distributions, interactive charts, historical maps, and network graphs will be among our future topics. See you soon.<\/p>\n","protected":false},"excerpt":{"rendered":"

Baseball stats are ideally suited for display using a wide variety of charts, network graphs, and other visualization approaches. This is true whether we are using spreadsheet tools such as Microsoft Excel or OpenOffice Calc, data mining tools like Orange, RapidMiner or R, network analysis software such as Gephi and Cytoscape, or web-based visualization tools […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[31,50,51],"class_list":["post-967","post","type-post","status-publish","format-standard","hentry","category-pennant-races","tag-data-visualization","tag-excel","tag-sparklines"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/visual-baseball.com\/wp2\/wp-json\/wp\/v2\/posts\/967","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/visual-baseball.com\/wp2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/visual-baseball.com\/wp2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/visual-baseball.com\/wp2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/visual-baseball.com\/wp2\/wp-json\/wp\/v2\/comments?post=967"}],"version-history":[{"count":12,"href":"https:\/\/visual-baseball.com\/wp2\/wp-json\/wp\/v2\/posts\/967\/revisions"}],"predecessor-version":[{"id":1837,"href":"https:\/\/visual-baseball.com\/wp2\/wp-json\/wp\/v2\/posts\/967\/revisions\/1837"}],"wp:attachment":[{"href":"https:\/\/visual-baseball.com\/wp2\/wp-json\/wp\/v2\/media?parent=967"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/visual-baseball.com\/wp2\/wp-json\/wp\/v2\/categories?post=967"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/visual-baseball.com\/wp2\/wp-json\/wp\/v2\/tags?post=967"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}