Hi, The code below is supposed to make a choropleth. I use SPSS v184.108.40.206 under Windows 7 Enterprise, (32 bit). When I run the code, I get an file I/O exception error, in a red font in the box where the graph is supposed to be. My friend runs SPSS v21 on a 64-bit architecture and some Windows flavour (probably W7), and he could successfully produce a graph with the code below. Does this code work on other computers that run SPSS v20? What should I do to make this work? Thank you in advance! Albert-Jan DATA LIST FREE / continent (A25) value (F2). BEGIN DATA "Australia" 12 "Europe" 1 "North America" 11 "Oceania" 10 "Asia" 9 "Africa" 3 "South America" 3 END DATA. GGRAPH /GRAPHDATASET NAME="graphdataset" VARIABLES=continent[LEVEL=nominal] value[LEVEL=nominal] MISSING=LISTWISE REPORTMISSING=NO /GRAPHSPEC SOURCE=VIZTEMPLATE(NAME="Choropleth of Values"[LOCATION=LOCAL] MAPPING( "color"="value"[DATASET="graphdataset"] "Data_Key"="continent"[DATASET="graphdataset"])) VIZSTYLESHEET="Traditional"[LOCATION=LOCAL] LABEL='CHOROPLETH OF VALUES: value-continent' DEFAULTTEMPLATE=NO VIZMAP="Continents"[LOCATION=LOCAL TYPE=DATA mapkey="CONTINENT" SHOWALLFEATURES=YES].
Pinned topic cannot make choropleth in GGRAPH (VizML)
Albert-Jan 270003ERMT2 Posts
Re: cannot make choropleth in GGRAPH (VizML)2013-06-28T18:01:46ZThis is the accepted answer. This is the accepted answer.
I filed a bug report about this today. It seems unlikely that this is caused by some installation/configuration error. This is somewhat similar to an APAR about a choropleth (but that what about the means of a large dataset).