SOCR MotionCharts CAOzoneData
Contents
SOCR MotionCharts Activities - California Ozone Data Activity
Summary
This activity demonstrates the usage and functionality of SOCR MotionCharts using the SOCR California Ozone dataset.
Goals
The aims of this activity is to:
- use MotionChart to address 2 specific health-related case-studies
- demonstrate data import, MotionChart data manipulations and graphical data interpretation
- explore the interactive graphical visualization of real-life multidimensional datasets
- data navigation from different directions (using data mappings).
Background
Suppose we are asked to analyze a complex dataset that included observational multivariate ozone depletion data. The data included California Ozone measurements from 20 locations between 1980 and 2006. The figure on the right illustrates a dynamic interactive map of the geographic locations of the data measurements. This dataset consists of 540 rows and 22 variables. The goals of the study were to identify relationships and associations between the variables and map geographically the significant ozone layer effects. Any such quantitative study requires a preliminary exploratory data analysis. The complexity of the dataset and the intrinsic measurement characteristics of the ozone data demands a new approach to visualization and exploration of these heterogeneous measurements.
Case Study
This Ozone pollution case study addresses the following specific driving environmental challenges:
- Are there temporal changes in California Ozone?
- What is the geographic distribution of the California Ozone pollution and is it changing with time?
The following chart illustrates the health-related interpretation of the Ozone data in terms of the particulate (particles per million, ppm) recordings, according to the National Oceanic and Atmospheric Administration's (NOAA) Air Quality Index (AQI). EPA guidelines on air quality are as follows:
- (2010) The Obama administration’s proposal sets a primary standard for ground-level ozone of no more than 0.060 to 0.070 ppm, to be phased in over two decades.
- (2005) The Bush administration imposed a limit of 0.075 ppm.
- (1997) The Clinton administration introduced a standard of 0.084 ppm.
Temporal changes in California Ozone
- Observation: Notice the annualized increase of the ozone pollution with time (increase of the proportion of hot-colored bubbles with time).
- Motion Chart: Use the following variable-mapping to demonstrate the significant time effect on the increase of the ozone pollution as measured by ppm recordings:
Variables | ||||||
---|---|---|---|---|---|---|
SOCR MotionChart Property | Key | X-Axis | Y-Axis | Size | Color | Category |
Data Column Name | Year | MTH_1 | MTH_8 | HI_COVER | ANNUAL | Location |
- Note that the variable mapping we used above allows us to track seasonal changes of ozone pollution (Winter, month1, on the X-axis; and Summer, month8, on the Y-axis). If we play this motion chart, the following interpretation of the motion chart is appropriate: For a given bubble (representing one measurement location):
- up-down movement indicate annual Winter (January) increase or decrease of pollution levels, respectively;
- left-right movement indicate annual Summer (August) increase or decrease of pollution levels, respectively;
- bubble-size increase or decrease indicate corresponding changes in the annual percent coverage during typical periods of high concentration;
- color change from cool-to-hot indicates an annual increase of the ozone measurement for that specific location from one year to the next.
- You should see an image like this one shown below. Play this motion charts by clicking the Play button and observe the increase of hot-colored bubbles in the chart as time goes from 1980 to 2006.
Geographic distribution of California Ozone pollution
- Observation: The ozone pollution appears to be a more geographically spread out phenomenon in the 2000's, compared to the 1980's -- most of the bubbles cluster together in later years, whereas there were wider geographic-driven fluctuations in the ozone particles in the earlier years. The size of the bubbles reflects the maximum annual pollution and the bubble color indicates the average annual ozone pollution -- hot-colors represent high and cool-colors represent low ozone pollution levels, respectively.
- Motion Chart: Use the following variable-mapping to demonstrate the significant geographic temporal re-distribution of the ozone pollution as measured by ppm recordings:
Variables | ||||||
---|---|---|---|---|---|---|
SOCR MotionChart Property | Key | X-Axis | Y-Axis | Size | Color | Category |
Data Column Name | Year | LONGITUDE | LATITUDE | HI_COVER | ANNUAL | Location |
- This second variable mapping allows us to track seasonal changes of ozone pollution for each geographic location. Here the X and Y locations of bubbles are locked at the GIS longitude and latitude coordinates. By playing this motion chart, we have the following interpretation: For a given bubble (representing one GIS location):
- bubble-size increase or decrease indicate corresponding changes in the annual percent coverage during typical periods of high concentration;
- color change from cool-to-hot or hot-to-cool indicate annual increase or annual decrease, respectively, of the ozone measurement for that specific location from one year to the next.
- You should see an image like this one shown below. In this mapping, each bubble corresponds spatially to a geographic location, just like in the geographic-map above. Play this motion charts by clicking the Play button and observe the increase of hot-colored bubbles in later years at geographic locations which did not show unhealthy ozone pollution levels int he early years.
Initial setting
In addition to this activity, open 2 more browser tabs - one pointing to the SOCR MotionCharts applet and the other displaying the SOCR California Ozone dataset. The image below shows this setting.
Hands-on activity
- Using the mouse, copy the SOCR California Ozone dataset, click on the first cell (top-left) in the DATA tab of the SOCR Motion Charts applet, and paste the data in the spreadsheet.
- Next, you need to map the column-variables to different properties it the SOCR MotionChart. For example, you can us the following mapping:
Variables | ||||||
---|---|---|---|---|---|---|
SOCR MotionChart Property | Key | X-Axis | Y-Axis | Size | Color | Category |
Data Column Name | Year | Longitude | Latitude | MTH_1 | MTH_7 | Location |
The figures below represent snapshots of the generated dynamic SOCR motion chart. In the real applet, you can play (animate) or scroll (1-year steps) through the years (1980, ..., 2006). Notice the position change between different snapshots of the time slider on the bottom of these figures. Also, mouse-over a blob triggers a dynamic graphical pop-up providing additional information about the data for the specified blob in the chart.
You can also change what variables are mapped to the following SOCR MotionCharts properties:
- Key, X-Axis, Y-Axis, Size, Color and Category.
We can also overlay the Motion-chart above on the Geo-map of of the 20 locations of the ozone recording stations. This of course, stretches vertically the motion chart, as longitude and latitude coordinates are not isotropic.
Other types of exploratory and statistical analyses of the Ozone data
Various [ SOCR online tools can also be used to analyze (visually or quantitatively) the Ozone pollution data. The table below contains a summary of the annual pollution rates (ppm) for each of the 20 locations across the span of 27 years:
Location_Year | 1980 | 1981 | 1982 | 1983 | 1984 | 1985 | 1986 | 1987 | 1988 | 1989 | 1990 | 1991 | 1992 | 1993 | 1994 | 1995 | 1996 | 1997 | 1998 | 1999 | 2000 | 2001 | 2002 | 2003 | 2004 | 2005 | 2006 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 | 0.12 | 0.11 | 0.15 | 0.14 | 0.14 | 0.13 | 0.11 | 0.17 | 0.11 | 0.19 | 0.11 | 0.11 | 0.13 | 0.11 | 0.106 | 0.135 | 0.12 | 8.700001 | 9.899998 | 0.088 | 9.399998 | 9.200001 | 7.499999 | 9.799999 | 0.109 | 8.200002 | 8.200002 |
2040 | 0.18 | 0.2 | 0.23 | 0.28 | 0.28 | 0.22 | 0.15 | 0.17 | 0.22 | 0.23 | 0.2 | 0.18 | 0.16 | 0.146 | 0.102 | 0.12 | 0.12 | 0.115 | 0.125 | 0.104 | 0.118 | 0.135 | 0.112 | 0.107 | 0.105 | 8.399999 | 0.108 |
2102 | 0.13 | 0.11 | 0.1 | 0.14 | 0.16 | 0.14 | 0.1 | 0.15 | 0.12 | 0.11 | 0.11 | 7.999998 | 0.11 | 0.13 | 0.111 | 0.124 | 0.121 | 8.700001 | 0.097 | 9.799999 | 0.107 | 0.118 | 0.111 | 9.399998 | 8.999997 | 9.399998 | 0.105 |
2125 | 0.15 | 0.13 | 0.1 | 0.17 | 0.11 | 0.13 | 0.1 | 0.12 | 0.1 | 0.1 | 7.999998 | 7.999998 | 8.999997 | 0.1 | 8.399999 | 0.14 | 0.097 | 8.999997 | 6.599998 | 8.200002 | 0.083 | 0.105 | 8.999997 | 0.113 | 0.097 | 8.399999 | 8.499998 |
2199 | 0.21 | 0.19 | 0.19 | 0.19 | 0.2 | 0.24 | 0.18 | 0.17 | 0.2 | 0.19 | 0.17 | 0.18 | 0.15 | 0.17 | 0.165 | 0.16 | 0.16 | 0.155 | 0.173 | 0.126 | 0.124 | 0.137 | 0.136 | 0.141 | 0.125 | 0.139 | 0.126 |
2249 | 0.31 | 0.27 | 0.32 | 0.27 | 0.32 | 0.34 | 0.25 | 0.24 | 0.29 | 0.26 | 0.21 | 0.21 | 0.21 | 0.19 | 0.252 | 0.16 | 0.15 | 0.134 | 0.182 | 0.116 | 0.137 | 0.114 | 0.121 | 0.165 | 9.899998 | 9.399998 | 0.146 |
2293 | 0.19 | 0.16 | 0.14 | 0.16 | 0.15 | 0.15 | 0.14 | 0.16 | 0.13 | 0.12 | 0.13 | 0.12 | 0.12 | 0.13 | 0.12 | 0.153 | 0.1 | 0.109 | 0.115 | 0.133 | 0.102 | 0.109 | 0.11 | 0.123 | 8.999997 | 0.105 | 0.102 |
2410 | 0.14 | 0.12 | 0.1 | 0.13 | 0.14 | 0.12 | 8.999997 | 0.11 | 0.12 | 0.12 | 0.11 | 0.11 | 0.1 | 0.11 | 0.1 | 0.133 | 0.112 | 0.103 | 0.119 | 0.113 | 0.079 | 9.100002 | 0.109 | 0.101 | 0.104 | 8.700001 | 7.999998 |
2420 | 0.38 | 0.25 | 0.22 | 0.26 | 0.26 | 0.25 | 0.22 | 0.22 | 0.25 | 0.23 | 0.19 | 0.22 | 0.17 | 0.19 | 0.14 | 0.145 | 0.205 | 0.121 | 0.161 | 0.1 | 0.109 | 0.14 | 0.152 | 0.179 | 0.131 | 0.138 | 0.158 |
2460 | 0.23 | 0.19 | 0.18 | 0.18 | 0.16 | 0.22 | 0.16 | 0.17 | 0.19 | 0.2 | 0.17 | 0.15 | 0.17 | 0.187 | 0.147 | 0.146 | 0.138 | 0.136 | 0.164 | 0.124 | 0.121 | 0.135 | 0.121 | 0.125 | 0.106 | 0.113 | 0.121 |
2484 | 0.41 | 0.35 | 0.36 | 0.39 | 0.31 | 0.36 | 0.31 | 0.3 | 0.3 | 0.33 | 0.23 | 0.28 | 0.27 | 0.24 | 0.251 | 0.212 | 0.196 | 0.162 | 0.195 | 0.137 | 0.174 | 0.189 | 0.136 | 0.15 | 0.134 | 0.145 | 0.165 |
2492 | 0.35 | 0.27 | 0.25 | 0.31 | 0.26 | 0.3 | 0.28 | 0.23 | 0.24 | 0.2 | 0.2 | 0.22 | 0.22 | 0.18 | 0.167 | 0.165 | 0.142 | 0.134 | 0.177 | 0.12 | 0.152 | 0.129 | 0.128 | 0.134 | 0.137 | 0.142 | 0.166 |
2499 | 0.32 | 0.35 | 0.32 | 0.28 | 0.34 | 0.3 | 0.26 | 0.29 | 0.29 | 0.27 | 0.33 | 0.27 | 0.28 | 0.24 | 0.265 | 0.256 | 0.234 | 0.205 | 0.244 | 0.174 | 0.176 | 0.17 | 0.161 | 0.163 | 0.163 | 0.182 | 0.164 |
2525 | 0.29 | 0.24 | 0.28 | 0.26 | 0.22 | 0.29 | 0.22 | 0.2 | 0.23 | 0.21 | 0.19 | 0.2 | 0.21 | 0.2 | 0.184 | 0.202 | 0.18 | 0.136 | 0.149 | 0.112 | 0.164 | 0.152 | 0.147 | 0.155 | 0.128 | 0.126 | 0.169 |
2589 | 0.16 | 0.17 | 0.2 | 0.21 | 0.15 | 0.2 | 0.14 | 0.16 | 0.22 | 0.16 | 0.15 | 0.15 | 0.15 | 0.133 | 9.899998 | 0.14 | 9.799999 | 0.117 | 9.899998 | 0.105 | 9.100002 | 0.102 | 0.115 | 7.499999 | 0.097 | 9.299999 | 8.399999 |
2596 | 0.37 | 0.3 | 0.31 | 0.36 | 0.32 | 0.35 | 0.25 | 0.29 | 0.28 | 0.27 | 0.29 | 0.24 | 0.26 | 0.26 | 0.253 | 0.213 | 0.203 | 0.187 | 0.195 | 0.142 | 0.14 | 0.143 | 0.155 | 0.169 | 0.141 | 0.144 | 0.151 |
2655 | 0.12 | 0.11 | 8.999997 | 0.11 | 0.11 | 0.11 | 8.999997 | 0.11 | 0.1 | 0.1 | 8.999997 | 0.11 | 8.999997 | 0.12 | 9.200001 | 0.13 | 8.999997 | 8.399999 | 0.125 | 0.115 | 7.700002 | 9.899998 | 0.116 | 0.105 | 9.200001 | 9.100002 | 9.600002 |
2898 | 0.37 | 0.33 | 0.31 | 0.34 | 0.31 | 0.33 | 0.27 | 0.29 | 0.29 | 0.25 | 0.24 | 0.24 | 0.26 | 0.21 | 0.241 | 0.215 | 0.187 | 0.156 | 0.184 | 0.141 | 0.152 | 0.144 | 0.15 | 0.161 | 0.131 | 0.14 | 0.151 |
2899 | 0.29 | 0.32 | 0.4 | 0.26 | 0.29 | 0.3 | 0.22 | 0.22 | 0.21 | 0.25 | 0.2 | 0.19 | 0.2 | 0.16 | 0.193 | 0.167 | 0.144 | 0.12 | 0.148 | 0.128 | 0.136 | 0.116 | 0.122 | 0.152 | 0.11 | 0.121 | 0.108 |
2991 | 0.13 | 0.16 | 0.15 | 0.15 | 0.14 | 0.15 | 0.18 | 0.18 | 0.16 | 0.19 | 0.12 | 0.12 | 0.141 | 0.138 | 0.115 | 0.124 | 0.121 | 0.102 | 0.106 | 0.103 | 8.399999 | 9.399998 | 8.600003 | 8.099997 | 8.399999 | 7.599998 | 8.899999 |
Spider Chart
This spider chart visually demonstrates the rapid increase of the pollution levels across the years (radial spokes). For each site the 27 annual measurements are connected with lines of the same color as shown on the color-mapping below.
Box-and-whisker plot
This Box and Whiskers Plot illustrates the same annual (across locations) averages of the ozone pollution for the 27 years on record. Notice the increase in (high-level) outliers, denoted by colored triangles on the top, and the atypically average high pollution levels in the last few years.
Simple Linear Regression analysis
Data type and format
SOCR Motion Charts currently accepts three types of data: numbers, dates/time, and strings. With these data types, we feel that the application is able to handle the majority of data out here. We use the natural ordering of these types as defined by Java however. While many types of data can be interpreted as a string, it may not make sense to use lexicological ordering on all the different types. When designing SOCR Motion Charts, we took this into consideration and designed the application so that it can easily be extended to provide a greater variety of interpreted types. Thus, a developer should be able to easily provide better type interpretation for particular types of data.
Applications
The SOCR MotionCharts can be used in a variety of applications to visualize dynamic relationships in multidimensional data in up to four dimensions and a fifth temporal component. Its design and implementation allow for extensions allowing and supporting higher dimensions plug-ins. The overall purpose of SOCR MotionCharts is to provide users with a way to visualize the relationships between multiple variables over a period of time in a simple, intuitive and animated fashion.
See also
Translate this page: