• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Stat planet - tutorial
 

Stat planet - tutorial

on

  • 4,777 views

 

Statistics

Views

Total Views
4,777
Views on SlideShare
4,777
Embed Views
0

Actions

Likes
0
Downloads
108
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Stat planet - tutorial Stat planet - tutorial Document Transcript

    • StatPlanetTutuorial Team – Blitz Sathiyaseelan M – 10BM60080 Somaskhandan C – 10BM60087 4/5/2012
    • Contents1. About StatPlanet ....................................................................................................................... 32. Getting Started .......................................................................................................................... 4 Software Installation...................................................................................................................... 4 Importing or Creating Maps ........................................................................................................... 5 Finding a Map ................................................................................................................................ 53. Instruction for Loading Shape Files without using Excel .............................................................. 64. Create a Map using Adobe Flash ................................................................................................ 65. Structuring Source data files prior import .................................................................................. 7 Importing Data .............................................................................................................................. 7 Data File Structure ......................................................................................................................... 8 Setting File Structure ..................................................................................................................... 96. StatPlanet Features and Options ................................................................................................ 9 Thematic Map ............................................................................................................................. 10 Choropleth Map ...................................................................................................................... 10 Proportional Symbol Map ........................................................................................................ 10 Map Legend................................................................................................................................. 11 Map colors............................................................................................................................... 11 Data range ............................................................................................................................... 11 Indicator Panel ............................................................................................................................ 11 Graph Panel ................................................................................................................................. 12 Options Panel .............................................................................................................................. 127. Troubleshooting ...................................................................................................................... 138. Sample Data ............................................................................................................................ 14
    • 1. About StatPlanet StatPlanet is a visualization tool developed by an Australian company founded byFrank Van Cappelle from 2008 to 2010. The development of a tailored version of StatPlanetwas undertaken as part of SACMEQ (Southern and Eastern Africa Consortium for MonitoringEducation Quality) research programme at the UNESCO International Institute for EducationPlanning (IIEP) Paris, France.StatPlanet is a Powerful visualization and mapping tool used by many different kindsoforganizations including UN agencies, Fortune 500 companies, government departments,NGOs, schools anduniversities to communicate, disseminate and explore data. It is sued byChildren of age 9 and above to learn about the world through interactive maps as part ofIIEP. Greatest strength of StatPlanet is that it enables also non-technical users to explorestatistics throughits user-friendly interface. Moreover, the software automates the normallycomplex processes of converting rawdata into interactive maps and visualizations. Thisenables even non-technical users to create interactive mapsand visualizations with relativeease. Users can import their own data and maps (Flash Maps and ESRI shape files) forvisualization purpose.StatPlanet comes in different versions. The latest version of StatPlanet is V. 3.0 released inFeb of 2012. There is many version of StatPlanet software namely-  StatPlanet-It is free software for creating interactive maps which are fully customized. In addition to maps, the software also has the option of including interactive graphs and charts to create feature-rich info graphics.  StatPlanet Plus- StatPlanet Plus is an advanced version of the free StatPlanet mapping and visualization software. StatPlanet Plus has the same feature- rich interface as StatPlanet for creating interactive maps and visualizations, but with support for large data sets. Desktop version of StatPlanet is free of cost for non- commercial users, but it has a license issued for commercial purpose which is charged.  StatPlanet Lite- It is an application for creating online interactive maps.
    • All versions of the software can be used as a standalone version or can be published online.The aim of the software is to promote evidence based decision making by improving andfacilitating the communication and interpretation of information. 2. Getting Started StatPlanet is designed to be used both online and offline. The software doesnot require any installation. The minimum system requirement is same as required forAdobe Flash Player CS4.Software Installation The software can be downloaded at StatSilk.com. The software downloads as a ZIPfile. There is no requirement to run any exe file as this software does not require anyinstallation. Unzip the file in a folder location and the software is ready to use. MicrosoftOffice Excel and Adobe flash players are the minimum other software which is required. The above picture shows the folder structure when the ZIP file is unzipped. We seesome subfolders which will be explained in detail. The Create flash map folder is used tocreate the map of the country or the region which we want to use. The map can be of twotypes- a flash map or ESRI shape file format. Both these format can be used in StatPlanet.The flash map can be imported into create flash map folder and Shape file maps can beimported into the shape file folder.
    • Importing or Creating Maps See statsilk.com to obtain free shapefile maps. 1. In the folder “Shapefile_map_ (ESRI)” open the sub-folder map. Copy your mapfiles here. 2. Run the file “update_map.bat”. This automates the following procedure which canalso be done manually: (i) remove the included example shapefiles (map of Indonesia), and(ii) rename your map files (e.g. “mycountry.shp” and “mycountry.dbf”) to “map.shp” and“map.dbf”. Please note that there are two map folders in “Shapefile_map_ (ESRI)” to whichyou need to copy your map files map (for the offline version) webmap (for the web version) 3. Open the StatPlanet_data_editor file. Click on the button Setup shapefile (in thetop-left, macros need to be enabled). 4. Select your “map.dbf” file in the map folder, and follow the instructions. Makesure that the ‘ID’ column is alphabetical (a-z), numerical (0-9), or alpha-numeric (acombination of alphabetical and numeric characters such as “reg21”). Special characterssuch as ē ạ & / - may cause problems in loading the map. If you do not have a suitable IDcolumn, you could use software such as Open Office Calc to edit the “map.dbf” file andcreate/edit an ID column. Open Office Calc is free software (http://www.openoffice.org/). 5. Run StatPlanet to see the results with the included sample data.Finding a Map The following are useful websites for finding free shapefiles (regional /administrative boundaries maps). Note that you need to download the boundary files in the".SHP" format.
    •  Map Library - http://www.maplibrary.org/ - Public domain maps for most countries in the world. Maps are not guaranteed to be error free and up to date.  UN SALB - http://www.unsalb.org/ - Second Administrative Level Boundaries data set project. These maps are free but copyright rests with the UN. The maps are validated by the National Mapping Agencies (NMA) of each UN Member State.  US Census Bureau - http://www.census.gov/geo/www/cob/bdy_files.html - USA County and District Cartographic Boundary Files.  ArcGIS map resources - http://resources.arcgis.com/content/data-maps/10.0/world  Stanford University map resources - http://www- sul.stanford.edu/depts/gis/web.html 3. Instruction for Loading Shape Files without using Excel 1. Copy your map shapefiles as explained above. 2. Copy and paste the country IDs from the map.dbf file to replace the existing ones in the file data.csv. 3. Copy and paste the country names from the map.dbf file to replace the existing ones in the bottom of the file settings.csv. 4. Copy the ID column header name, and paste it next to DBF-ID in the file settings.csv. 4. Create a Map using Adobe FlashTo create custom interactive maps for use in StatPlanet, you need the following:  StatPlanet or StatPlanet Plus  Adobe Flash CS3 or higher  A map file in vector format, either Adobe Illustrator (.ai), FreeHand (.fh*, .ft*), or Adobe Flash (.swf). (See also: Converting images into a suitable vector format)
    • For creating Flash maps, please see the tutorial on http://www.statsilk.com/maps/create-flash-maps. 5. Structuring Source data files prior importWhen importing data using the StatPlanet Data Editor, data will automatically is organizedusing the correct data structure as described in the section “Data file structure” below. Theimport macro is able to recognize many different data structures. However, to ensureimporting of both indicators and years is successful it is recommended that your source datafile is structured similarly to the example Excel file“data_example_for_import_worldmap.xls” included with StatPlanet. This example includesdata for multiple indicators and multiple years.Data can only be imported one category at a time. Therefore, it is a good idea to organize orgroup your data sets into categories prior to importing, for example, one category per Excelsheet or Excel file. Data can then be imported one file or Excel sheet at a time. The categorynames cannot be imported and need to be edited manually.Importing DataData can be imported through the following steps: 1. Open the StatPlanet Data Editor. 2. Enable macros in Excel. 3. Click the button Import data and select a data file to import the data. 4. Click on Save data once you are done.The next section describes in more detail how data needs to be structured. Data can also becopied and pasted manually to the Excel sheet Import following the data structuredescribed in this section.
    • Data File StructureData in the StatPlanet Data Editor consists of 11 columns containing category names,indicator names and meta-information. This is followed by x number of columns for thecountries or other map areas (where x corresponds to the number of countries / mapareas). Data is edited in the sheet “Import”. When clicking on “Save data”, a copy is saved tothe sheet “Data” prior to saving the file as “data.csv‟ (removing duplicate indicator namesto reduce file size). The “data.csv‟ file is the actual data file read by StatPlanet.Columns 1, 2 and 3 contain the Category names, Years and Indicator names respectively.Columns 4 to 11 are optional and can be left blank.The most important columns are therefore columns 1 to 3, which need to be structuredaccording to the following rules:  Data is structured first by category, then by year, and then by indicator.  Years must be in order from highest to lowest.  Each category has its own list of indicators. However, „within‟ a category, the list of indicators must be exactly the same for each year.  Spacing (empty cells in white) between the different categories, years and indicators need to be maintained as shown in the example below. See also the included example data which comes with StatPlanet for a more elaborate data structure. In the example below, please note that there are empty spaces between each category and between each year, as well as an empty space between each list of indicators.
    • Setting File StructureThis section is for those who wish to create or edit the settings.csv file manually, rather thanusing the StatPlanet Data Editor.The setting.csv file consists of three parts, which are extracted from different sheets in theStatPlanet Data Editor: 1. Map Coordinator  Found in Sheet “Map Regions”. The structure for the map coordinates consists of the heading “MAP”, followed by at least one line providing the startup coordinates of the map (in the order - X coordinate, Y coordinate, zoom level).  Found in the sheets “Settings” and “Text-Translations”. 2. Names (Optional)  Found in the sheet “Text-Translation”, a copy of which is found in the sheet “Import”. The map area names are optional. If left out the country or the country or other map area names will be the same as the country/map area codes in the sheet “Data”. The structure of the “names” section consist of the heading “names”, followed by a list of country or other map area names. The order of the names should be the same as the order of the corresponding country / map area codes in the sheet “Data”, but transposed vertically rather than horizontally. The sheet “Data” and corresponding file “data.csv” are described. 6. StatPlanet Features and Options
    • Thematic MapChoropleth MapThis is the main thematic map type in StatPlanet. The map legend shows which map colorsareassociated with each data range (for example, higher values may be shaded inincreasinglydarker colors). Both the map colors and the data range can be customized (seeMap legendbelow). In version 2.1, the possibility of creating qualitative or descriptive mapswasintroduced. These types of maps convey non-numerical information, such as whichlanguagesare spoken in different regions.Proportional Symbol MapA proportional symbol map scales symbols (usually circles) according to the indicatorbeingmapped. Each symbol can represent a country or other map region. In StatPlanet thesymbolmap is overlaid on top of the choropleth map (see above). This means that two datasets can beshown on the same map – one for the choropleth map and one for the symbolmap.To show the symbol map, click the symbol icon (shown on the left) in the bottom-left
    • corner ofthe screen. If you have bookmarked an indicator, the symbol map represents thedata for thebookmarked indicator, whereas the choropleth map represents the data for theselectedindicator. (If the bookmarked indicator is currently selected, both the symbol mapand thechoropleth map represent the bookmarked indicator).Map LegendMap colorsClicking on any of the colors in the legend will bring up a color selection panel. Inthis panelyou can change both the colors (either Sequential or Diverging color schemes), aswell as thenumber of color classes (between 3 and 9). The color schemes are from the ColorBrewerwebsite (http://colorbrewer2.org/), which is an excellent resource for more informationonselecting map colors.Data rangeTo adjust the data range of the map legend, click on the top or bottom value. Usethe popupto increment or decrement the value, or enter a whole new value. The intermediatevalueswill be adjusted automatically.Indicator Panel Select Category-Use the drop-down menu in the top of the indicators panel to selecta new category (onlineversion only). Select Regions-Use the drop-down menu in the top ofthe indicators panel to select and zoom into a differentregion, such as Africa or Europe. Itis also possible to select countries to define a customregion. Indicator bar- The bars are scaled in proportion to the maximum value of thatparticular indicator for allcountries in the selected region. For example, if the value forcountry X is 20 and themaximum value for all countries is 100, the bar will be scaled at 20%.Book Mark Indicator- Click the star button in the indicators panel to bookmark the selectedindicator. Thebookmarked indicator will stay even when you switch to another category.This allows youto (i) create scatter plot graphs, (ii) compare the bookmarked indicator with
    • indicatorsfromother categories, and (iii) compare two indicators through the choroplethmap (representingthe selected indicator) and the proportional symbol map (representingthe bookmarkedindicator).Indicator Definition- If a definition exists for an indicator, the definition will appear in apopup when moving themouse over the indicator. The definition only shows for theindicator which is selected or bookmarked.Graph Panel Bar Chart-Click the graph button in the bottom-left corner of the screen to open orclose the Graph panel.You will find the same graph button in the graph panel. Use thisbutton to switch betweenhorizontal and vertical bar charts.Use the "sort" button to sort thegraph from lowest to highest, highest to lowest, highest tolowest starting in the middle, oralphabetically.Time Series- In the top left of the Graph panel (see "Bar chart" above) you will find the timeseries button.When you click on this button, a list of countries appears which you can add tothe time seriesgraph. Click on a country to add it to the graph, and click on it again if youwish to remove it.Scatter Plot- In the top left of the Graph panel (see "Bar chart" above) you will find thescatter plot button.Clicking on the button will automatically use the selected indicator asthe x-axis variable. Youneed to select a second indicator as the y-axis variable.The x-axis andy-axis variables can be selected in the Graph panel (see below), or in theIndicators panel(see Bookmark indicator above).Press the ‘play’ button to see an animation of changes over time, with each bubble(point)moving to the corresponding x and y positions (depending on whether data isavailable for eachtime interval). If ‘Show trails’ is selected (next to the play button), eachbubble will leave a trailto mark previous positions over time.Options PanelIn the options we have Map, Graph/Chart, and general Option.
    • 7. TroubleshootingIf you have saved your data but it cannot be read by StatPlanet, most likely there is aproblem with the data structure.Please see point 4 below to see how to structure data byyear (or other time point). Data should start with the more recenttime point. Also make surethat the indicators listed for each year are exactly the same, and are listed in the sameorder. 1. Spelling of names: If the spelling of any of the country/map/region names cannot be identified, thecorresponding data will not be imported. See “Names not recognized” above for more information on howtoresolve this problem. 2. Names appear more than once: If the same country/map/region names appear more than once in your data file,the import macro will only import the data associated with the first one. 3. No year indicated in the data file, or cannot be detected:All indicators are arranged according to year. You need to add the year to your data set as the header of a row orcolumn (depending on how your data is structured). Alternatively, you can import the data and add the yearafterwards. The data needs to be structured as follows (see for example the structure of the sample data in StatPlanet_data_editor.xls): Group (sort) your indicators according to year. Insert a new row above each group of indicators. In thisnew row add the year in the YEAR column. Leave the neighbouring cell in the INDICATOR column blank; Note that the YEAR column should be blank in the cells next to the indicators: 4. Decimal Point: StatPlanet reads a "dot" as decimal separator (for example 0.75). Avoid using commas, spaces orother symbols in numbers to ensure that they are read properly by StatPlanet.
    • 8. Sample Data We have downloaded the tourism data for India from Indiastat.com which shows theforeign tourist arrival from different countries and also the breakup of foreign tourist arrivalacross different Indian states. The sample data is given below 2004 2005 2006 2007 2008 Afghanistan 12810 13988 18799 23048 32427 Albania 112 230 228 271 218 Algeria 818 770 1174 1183 1043 Andorra 42 26 100 122 154 Angola 474 543 385 651 1851 Anguilla 0 0 12 21 17 States/ UTs 1997 1998 1999 2000 2001 Andaman and Nicobar Islands 6028 4915 6035 3156 5539 West Bengal .. ... ..... Andhra Pradesh .. ... .....This data is used in the StatPlanet for visualization purpose. The final rendering of maps isshown below-
    • Comparison of foreign tourist arrivals to Delhi, Tamil Nadu & Maharashtra from 1997 to2010 is shown in the graph below
    • Statplanet can render cross sectional and time series data with ease. The internationaltourist arrival is shown belowThe foreign tourist arrival from Asia pacific region is shown below
    • Foreign tourist arrival in the year 2008 from Europe is shown belowProportional Symbol map of the foreign tourist is shown below