Example of summarizing categories over dates for a spline chart

A company that sells online book downloads collects a large amount of data to understand the target audience and to increase online book sales. An analyst wants to create a spline chart to examine the trends over the last few days of the number of downloads of each genre of book. The data are in the wrong format for a spline chart, so the analyst must create a saved view of the table with the Prep Tool .

Note

This example explains how to prepare data so you can create a spline chart. You can use the same steps for many other charts, including area charts, line charts, waterfall charts, and more.

  1. Open the Prep Tool . This example uses the Purchase Date and Genre columns in this data set in the Minitab Data Set Library, Online downloads data. For more information on how to import data, go to Common tasks using the Base Tool and select Import data to a new table from an Excel file.
  2. On the Fields tab, select Add a Field and select Purchase Date to add a second instance of the Purchase Date field.
    Note

    If you just imported your data, you may need to select Reset Config to display the table.

  3. Rename the second instance of Purchase Date to Online Downloads.
  4. Select the View button next to the Online Downloads field to add the data prep and select Count.
  5. Select Run , and then select Save .
  6. Under View, select New View. Under Name, enter Online Downloads. Then select Save.
  7. Open the Visualize Tool . From the Current Config dropdown list, select Online Downloads.
  8. From Type, select Spline. Under Metric, select Online Downloads.
  9. Under Dimension, select Purchase Date.
  10. Under Breakdown, select Add Breakdown. In Fields select Genre.
  11. Select Run .

Interpret the results

The category Drama stands out the most, as it increases each day before decreasing the final day. Nonfiction is also the only category to decrease from September 31st to October 1st.