Creating Drill-Down Graphs in HTML |
Lesson
Overview |
Introduction
It is often difficult for a single plot or chart to display the full depth of your data. Although there may be multiple important relationships among variables, the limits of graphing may mean that your chart omits crucial statistics or variables. One solution is to produce a linked series of charts. The SAS Output Delivery System (ODS) can create HTML pages from SAS procedure output, including SAS/GRAPH software plots and charts. Graphs are saved as GIF files, which are displayed in Web browsers when the ODS HTML output is loaded. Because graphs can contain further hypertext links, you can create a chart that leads to additional charts and tables. As shown below, users can click any element of a chart and drill down to another, more detailed chart that displays additional information. |
Drill-down charts are not hard to create, but they require careful planning
and coding. They are particularly well-suited to periodic reports, where
your program can be rerun, with only minor edits, to process updated data.
This lesson will lead you through the steps of building of a three-layered network of graphics and tables. When you are finished, you will have a substantial program that can serve as a template for your own set of charts. This lesson contains 36 pages and takes approximately 60-90 minutes to complete.
After completing this lesson, you will be able to
This lesson assumes that you are familiar with HTML, including the concept and syntax of HREF tags. A great many sources, both online and in print, provide HTML information. You should also have completed the following lessons: Getting Started with SAS Programming |
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.