Example: Histogram of Stock Volume

To create this example:
  1. In the Tasks section, expand the Graph folder, and then double-click Histogram. The user interface for the Histogram task opens.
  2. In the Data tab, select the SASHELP.STOCKS data set.
    Tip
    If the data set is not available from the drop-down list, click Select a table icon. In the Choose a Table window, expand the library that contains the data set that you want to use. Select the data set for the example and click OK. The selected data set should now appear in the drop-down list.
  3. To the Analysis variable role, assign the Volume column.
  4. To run the task, click Submit SAS Code.
Here are the results:
Histrogram showing the volume of stocks