Escolar Documentos
Profissional Documentos
Cultura Documentos
WelcometoWeave2.ThisguideprovidesastepbystepdescriptionofhowtouseWeaveto
visualizeworlddatarelatedtoconsumerconfidenceandspending.Inthiswalkthroughyouwill:
AccessdatafrommultipleCSVtables
Accessgeometricshapefiles
Createa:
BarChart
ColorLegend
ScatterPlot
Map
Changethecolortheme
UsetheAttributeMenutoprovideoneclickselectionofBarChartattributes
CustomizethelayoutoftheWeavesession
SavetheWeavesession
RestoretheWeavesession
BeforebuildingthisWeavesession,makesureyouhavetheconsumerconfidencesampledata
filesandshapefilesavailable.ThesecanbedownloadedfromtheWeavewebsite(iweave.com).
Navigatetothedocumentationpageandclickon
ConsumerConfidenceData
.
ConsumerConfidenceData.zipwillnowbeavailableinyourdownloadsfolder.
Extractthefiles
fromthe.zipfile.Youshouldsee:Advertising.csv,consumer_confidence.csv,Frugality.csv,
Internet_penetration.csv,job_prospects.csvandTM_WORLD_BORDERS0.3.zip.
Extractthe
files
fromtheTM_WORLD_BORDERS0.3.zipfile.YoushouldseeTM_WORLD_BORDERS0.3
fileswiththefollowingextensions:.dbf,.prj,.shp,and.shx.Youarenowreadytobuildyour
Weavesession.
Weavesavesalldata,chartattributeinformation,anduserinteractionsforeachsessionand
storesthisinformationasasessionhistory.The
<
and
>
arrowsinthemainmenuallow
youtomovebackandforthalongatimelineofthesessionhistory.Thebackarrowcanbeused
asanundokey.
1. OpenWeaveandaccessdata
Fromthemainscreen,youcanchoosetoloaddataorreloadapreviouslysavedWeave
session.WewillbeginbyloadingdatatobuildanewWeavesession.Clickonthe
LoadData
icon.ThisopenstheDataSourceswindowandhighlightstheDataSourcestabatthebottomof
thescreen.
Onthelowerleftportionofthescreen,youwillseealistofdatasourcetypes.Inthissessionwe
willusedatafromfiveseparatecsvfiles..Clickon
CSVfile
fromtheAddmoredatasourceslist
ThisopenstheConfigureandPreviewwindow.
Clickonthe
Openfile
buttonandnavigatetotheConsumerConfidencedatafilesthatyouhave
downloaded.
Clickon
Advertising.csv
.ThiswillreturnyoutotheDataSourceswindow.Youwillseethat
Advertising.csvhasbeenaddedtothelistofConnecteddatasourcesdisplayedintheupperleft
andapreviewofthedataisdisplayedonthebottomright.Youcanremoveadatasourceatany
timebyclickingonthe
X
nexttoitsdisplayednameintheConnecteddatasourceslist.
TheLabelfieldcanbeusedtochangethedisplayednamebutinthiscasewewillusethe
defaultprovidedbyWeave.
YounowneedtoenterinformationabouttheKeycolumnandKeynamespace.Theseareused
toconnecttheindividualcsvdatatablesandanyotherdata,suchasshapefiles,thatwillbe
usedinthesameWeavesession.
TheKeycolumnisacolumninthedatatablethatcontainsunique(noduplicate)valuesandis
thesameineachofthedatatablesthatyouplantouse.Thiscolumnservesastheoverlapor
keywhichconnectsallofthedatatables.Anexamplemightbeacolumnofstatesinthe
UnitedStates.However,sincethetitleofthiscolumnmaynotbethesameineachtable
(States,USStates,etc),weusetheKeycolumnentryareatotellWeavethetitleofthe
columnthatwillbeusedastheKeycolumn.Inthiscase,theKeycolumnisastandard3digit
countrycodeISOALPHA3CountryCode.Clickonthe
downarrow
nexttotheKeycolumn
entryboxandselect
ISOALPHA3CountryCode
fromthedropdownmenu
.
TheKeynamespacedescribesagroupoffiles,suchasdatatablesandshapefiles,thatwillbe
usedtogetherinaWeavesession.InthiscasewewilluseISO3countrycodeastheKey
namespace.Thistellsusthatallofthefilesthatwillbeusedforthissessionareconnectedby
usingthesame3digitcountrycode.Type
ISO3countrycode
intheKeynamespaceentrybox
andandhitthe
enterkey.
ISO3countrycodeisnowlistedintheKeynamespacedropdown
menu.Asyouaddmorefiles,youcanselectitdirectlyfromthedropdownmenuwithout
retypingthetext.
Click
CSVfile
intheAddmoredatasourcessectionandfollowthesameproceduretoaddeach
oftheCSVfiles.RemembertoconfirmthattheKeycolumnandKeynamespacearethesame
foreachfile.
Thedataisnowreadytouse.Newdatasourcescanbeaddedatanytimebyclickingonthe
DataSources
tabatthebottomofthescreenorbyselecting
Data
fromthemainmenu.
Clickthe
Layouttab
onthebottomofthescreentobeginbuildingthesession.Thisopensa
blankworkspacewhereyoucancreatevisualizations.Youcanusethetabsatthebottomofthe
screentocreatemultipleworkspaces.Clickon
Charts
inthemainmenu.Thiswilldisplaythe
listofchartsthatyoucanbuild.
Clickon
BarChart
.TheBarChartwillappearontheworkspace,prepopulatedwithdata.You
canaddadditionalvisualizationsatanytimebyselecting
Charts
fromthemainWeavetoolbar.
2. Createavisualization
Thechartcontrolpanelappearsautomaticallyontheleftsideoftheworkspacewheneveranew
chartisselectedorwheneverthegearicon(ontheupperleftofeachcharttitlebar)isselected.
Thecontrolpanelisusedtosetlabeling,colorcoding,axistitles,andothercontrolsand
attributesforeachchart.
TheBarChartdisplayedintheworkspacehasbeenprepopulatedwithattributes.Wewilluse
theBarChartControlPaneltoadjusttheattributes.
A. BarChart
Inthiscase,eachbarinthebarchartwillrepresentacountryandtheheightofthebarwill
representthepopulationwithinthatcountrythatplanstouseaparticulartechniquetocutback
onconsumerspending.Wewillsortthebarsbycountry,andcolorthembythepercentageof
thepopulationthathasaccesstotheinternet.
Clickonthe
>
totherightoftheHeightentrybox.TheAttributeSelectorpanelwillappear.
Atthetopofthepanel,acrumbtrailshowsthepathyouhavefollowedfromtheBarChart
ControlPaneltotheAttributeSelector.JustbelowthebuttonsforHeight,Sort,ColorandLabel
theprepopulatedattributeislistedintheattributeentryfield.Intheexampleabove,theHeight
buttonishighlightedandtheattributeassociatedwithit,Region,inthisexample,isshownin
theattributeentryfield.
Enterorselectvaluesforeachattribute.Asattributeinformationisenteredintoeachfield,the
chartwillreflectthechanges.
Height
:Removethedefaultattributebyclickingonthe
X
nexttotheitemlistedin
theattributeentryfield.Clickon
Frugality.csv
intheleftlistandthenclickon
Delayupgradingtechnology
fromtherightlist.Clickthe
AddSelected
button
atthebottomofthescreen.Delayupgradingtechnologywillnowshowinthe
attributeentryboxandthebarchartvisualizationwillreflectthechanges.
Sort
:Clickonthe
Sort
buttonandselect
Advertising.csv
fromtheleftcolumn
and
Country
fromtherightcolumn
Color
:Clickonthe
Color
buttonandselect
Internet_Penetration.csv
fromthe
leftlistand
InternetPenetration
fromtherightlist.
Label
:
Clickonthe
Label
buttonandselect
Advertising.csv
fromtheleftcolumn
and
Country
intherightcolumn.
ReturntotheBarChartControlPanelbyclickingon
BarChart
inthecrumbtrail.
IntheChartentryboxundertheTitlessection,typethetitleoftheBarChart:
Planstocontinue
costsavings.
ThetitleontheBarChartwillreflectthechange.Clickthe
X
intheupperrightto
exittheBarChartControlPanel.YouhavenowcreatedaWeaveBarChart.
B. AttributeMenuTool
Toallowtheendusertoviewthewaypeoplearoundtheworldplantocutbackonspending,we
willusetheAttributeMenuTooltoprovideamenuofcostsavingstechniquesanddisplaythe
resultsontheBarChart.Clickon
Controllers
inthemainmenu.Fromthedropdownmenu
select
AttributeMenuTool.
IntheChart
areausethedropdownmenutoselect
BarChart
IntheAttributeareausethedropdownmenutoselect
Height
IntheLayoutmodeareaselect
List
Click
>
totherightofthe
Choicesbuttonandselect
Frugality.csv
fromtheleftlist.Click
the
SelectAll
buttonandthe
AddSelected
buttontoaddallofcolumnstothelist.The
fulllistofcostsavingsmeasuresarenowdisplayedintheAttributeMenu
Removeunwanteditemsfromthelistbyclickingonthe
X
nexttotheitemswherethey
arelistedintheattributeentrybox.Inthiscase,clickonthe
X
inthe
ISOALPHA3
CountryCode
.
Clickonthe
AttributeMenuTool
inthecrumbtrailtoreturntothecontrolpanel.
IntheTitleentryboxatthebottomofthescreen,type:
Selectacostsavingmeasure
Clickonthe
X
toexitthecontrolpanel
TheAttributeMenuToolvisualizationwillnowcontainalistofcostsavingtechniques.Clickon
eachtechniqueinthelisttoseetheresultsontheBarChart.
C. AddasecondBarChart
TocreateasecondBarChart,clickon
Charts
inthemainmenuandselect
BarChart.
Follow
thesameprocedureusedforthefirstBarChart.ThistimethebarheightwillrepresentChange
inAdBuysandwewilllabelbycountry,sortbyTop2BoxandcolorbyInternetPenetration.
Clickonthe
>
totherightoftheHeightentrybox.TheAttributeSelectorPanelwillappear.
Enterorselectvaluesforeachattribute:
Height
:Clickonthe
Height
button.Clickonthe
X
nexttotheitemintheattribute
entryboxtoremovetheprepopulatedattribute.Clickon
Advertising.csv
inthe
leftlistandthenclickon
ChangeinAdBuys
fromtherightlist.Click
Add
Selected
atthebottomofthescreen.ChangeinAdBuyswillnowshowinthe
attributeentryboxandthebarchartvisualizationwillreflectthechanges.
Sort
:Clickonthe
Sort
buttonandselect
Advertising.csv
fromtheleftlistand
Top2Box
fromtherightlist.
Color
:Clickonthe
Color
buttonandselect
Internet_Penetration.csv
fromthe
leftlistand
InternetPenetration
fromtherightlist.
Label
:
Clickon
Consumer_confidence.csv
fromtheleftlistand
Country
inthe
rightlist.
ReturntotheBarChartControlPanelbyclickingon
BarChart
inthecrumbtrail.
IntheChartentryboxenterthetitle:
JobProspectsvsChangeinAdvertising.
Thetitleon
theBarChartwillreflectthechange.Clickthe
X
intheupperrighttoexittheBarChartControl
Panel.YouhavenowcreatedasecondWeaveBarChart.
D. ColorLegend
Clickon
Charts
inthemainmenuandselect
ColorLegend
.TheColorLegendControlPanel
appearsontheleftandaprepopulatedColorLegendappearsnexttotheBarCharts.Wewill
usethecontrolpaneltoadjustthecolorcodingandtosetthenumberofcolorsorshadesthat
willbeused.InthiscasewewillapplycolorbasedonInternetPenetrationpercentagevalues.
Wewillcreate10binswithcustombreaks.
Tochangethecolor,clickonthe
>
totherightofColorthemeatthetopofthecontrolpanel.
TheColorRampSelectorwillappearindicatingthecurrentcolorselection.
Usetheverticalscrollbartonavigateto
MCHBrown
andclickonit.Thenewcolorschemewill
beshownatthetopofthecolorrampandwillbereflectedinthevisualizations.Toreversethe
colorschemesothatthedarkestcolorreflectsthehighestvalues,clickonthe
upanddown
arrows
nexttotheactivecolorscheme.
Thecolorschemecanbechangedatanytimebyclickingon
Controllers
fromthemainmenu
andselecting
Colorsettings
fromthedropdownmenu.
Clickon
ColorLegend
inthecrumbtrailtoreturntothecontrolpanel.
Clickonthe
>
totherightoftheColorDataentrybox.TheAttributeSelectorPanelwill
appear.
Clickon
Internet_Penetration.csv
intheleftcolumnand
InternetPenetration
inthe
rightcolumn.
Clickon
ColorLegend
inthecrumbtrailtoreturntotheColorLegendControlPanel.
SelecttheBinningMethodfromthedropdownmenu.
Select
Custombreaks
IntheBreaksentryboxtype
0.10,20,30,40,50,60,70,80,90,100
Inthedisplaysection,youcanenteratitle.
Youcanchangetheshapeofthecolorlegendiconsandtheirlayoutbyusingthe
entryboxesintheDisplaysection
Clickonthe
X
toexittheColorLegendControlPanel
YouhavenowcreatedaColorLegendwhichislinkedtotheBarCharts.HoverovertheBar
ChartstoseewhichbinintheColorLegendishighlighted.
E. ScatterPlot
Clickon
Charts
onthemainmenuandselect
ScatterPlot
.TheScatterPlotControlPanel
appearsontheleftandaprepopulatedScatterPlotappearsnexttotheBarChartsandColor
Legend.WewillusetheScatterPlottoexaminetherelationshipbetweenConsumer
ConfidenceandInternetAccess.
Clickonthe
>
totherightoftheXentrybox.TheAttributeSelectorPanelwillappear.
Enterorselectvaluesforeachattribute:
Xaxis
:
The
X
buttonwillbehighlighted.Clickon
Consumer_confidence.csv
in
theleftlistand
ConsumerConfidence
intherightlist.
Yaxis
:Clickonthe
Y
buttonandselect
Internet_Penetration.csv
fromtheleft
listand
InternetPenetration
fromtherightlist.
Color
:Clickonthe
Color
buttonandselect
Internet_Penetration.csv
fromthe
leftlistand
InternetPenetration
fromtherightlist.
Size
:Clickon
ScatterPlot
inthecrumbtrailtoreturntothecontrolpanel.Use
thedropdownmenunexttotheSizeentryboxtoselect
None
IntheChartentrybox,enterthetitle:
InternetAccessvsConsumerConfidence.
Thetitleon
theScatterPlotwillreflectthechange.
Clickonthe
X
toexitthecontrolpanel.
YouhavenowcreatedaWeaveScatterPlotthatislinkedtotheBarChartsandColorLegend.
Youcanmoveandresizechartstomakethemeasiertoviewontheworkspace.Eachchart
hasatitlebarthatdarkenswhenthecursorhoversoverthatvisualization.Torepositionachart,
hoveroveritstitlebaruntilthecursorchangestocrossedarrows.
Whenthecrossedarrowscursorappears,clickanddragthecharttothenewlocation.Asthe
cursormovestothenewlocation,theareawherethechartwilllandisindicatedbyadarkgrey
box.Ifanentirechartiscoveredingrey,thetwochartswillswitchpositions.
3. Addamap
Todisplaygeographicallylinkeddata,weneedtoimportshapefilesthatdescribethegeography
weintendtouse:countries,states,municipalities,regions,votingdistricts,etc.Geographic
shapefilescanusuallybedownloadedfromtheinternetanduseddirectlyfromyourdesktop.In
thiscasewehavedownloadedtheworldshapefiles:TMWorldBorders0.3.
Clickonthe
DataSources
tabatthebottomofthescreen.ThisopenstheDataSources
windowandshowsthecsvfilesthatyouhavealreadyadded.
UndertheAddmoredatasourcessectionatthebottomleft,select
SHP/DBFfiles
.SHP/DBF
fileswillnowbehighlightedinthelistofConnecteddatasourcesandtheConfigurationand
Previewwindowwillappear.Click
OpenFIle
nexttotheDBFURLandbrowsetolocate
TM_WORLD_BORDERS0.3
.Doubleclickonthefolder,anditwillexpandtoshowseveral
files.Doubleclickonthefilewiththe.
dbf
extension.ThiswillreturnyoutotheDataSources
window,Click
OpenFile
nexttotheSHPURLandfollowthesameprocesstolocatethefile
withthe
.shp
extension.Doubleclickonthatfile.YouwillnowseebothURLsfortheshapefiles
displayedintheDataSourceswindow.
InthetextentryboxnexttoProjection,enterthecode
EPSG:4326
,theprojectionthatmatches
thisgroupofshapefiles.Thisinformationiscontainedinthe.prjfilethatispackagedwiththe
shapefiles.
NexttotheKeycolumnusethedropdownmenutoselect
ISO3
toidentifytheKeycolumn.
NexttoKeynamespace,usethedropdownmenutoselect
ISO3countrycode
,toinclude
theseshapefilesinthesamegroupingasthe.csvfilesweareusing.Theshapefilesarenow
readytouse.
Clickonthe
Layouttab
atthebottomoftheworkspacetoreturntotheWeavesessionthatyou
havecreated.Clickon
Charts
onthemainmenuandselect
Map
.TheMapControlPanel
appearsontheleftandaMapappearsnexttotheBarCharts,ScatterPlotandColorLegend.
Wewillcolorthecountriesbasedoninternetpenetrationvalues.Eachcountrywillbefilledin
withthecolorthatrepresentsthepercentofthatcountryspopulationthathasinternetaccess.
UndertheLayerssection,clickonthe
>
totherightoftheGeometriesbox.TheGeometries
LayerPanelwillappear.IfthereisnoGeometriesbox,clickonthe
+
buttonintheLayers
sectionofthecontrolpanelandselect
Geometries
fromthedropdownmenu.
Clickonthe
>
totherightofthe
Geometries
box.TheAttributeSelectorPanelwillappear.
The
Geometries
buttonwillbehighlighted.Select
TM_WORLD_BORDERS0.3.shp
intheleftcolumnand
the_geom
intheright
column.
Selectthe
FillColor
button.Clickon
Internet_Penetration.csv
intheleft
columnand
InternetPenetrationPct
intherightcolumn.TheMapvisualization
nowshowscountriescoloredbythepercentofthepopulationthathasinternet
access.
ReturntotheMapControlPanelbyclickingon
Map
inthecrumbtrail.
EntertheCharttitleintheDisplaysection:
InternetAccess.
ThetitleontheMap
willreflectthechange.
Enterthemapprojectioncode:
EPSG:4326
Usethezoomcontrol
+
or
andpancontrol(handshape)onthemaptocenter
andzoomin/outonyourmap.Whenthemapisatanappropriatezoomlevel,
clickonthe
Usecurrentzoom
buttonintheZoom/PanBehaviorsectionofthe
controlpanel.Thissetsthezoomlevelsothatyoucanreturntoitatanytimeby
clickingonthecrossedarrowbuttondisplayedonthemapzoomcontrols.
Clickonthe
X
toexitthecontrolpanel.
Tozoomintoaparticularareaofthemap,selectthe
magnifyingglass
iconon
themapzoomcontrols.Movethemouseoverthemapandclickanddragto
createaboxaroundtheareaofinterest.Whenyoureleasethemousebutton,
themapwillzoomintoandcenterontheselectedarea.
YouhavenowcreatedaWeaveMapthatislinkedtotheBarCharts,ScatterPlot,andColor
Legend.
4. Customizethelayout
TochangethelayoutofyourWeavesession,youcanmoveandresizeeachchart.Eachchart
hasatitlebarthatdarkenswhenthecursorhoversoverthatvisualization.Torepositionachart,
hoveroveritstitlebaruntilthecursorchangestocrossedarrows.
Whenthecrossedarrowscursorappears,clickanddragthecharttothenewlocation.Asthe
cursormovestothenewlocation,theareawherethechartwilllandisindicatedbyadarkgrey
box.Ifanentirechartiscoveredingrey,thetwochartswillswitchpositions.
Toadjustthesizeofachart,hoverthemouseoveroneofitsbordersuntiltheparallelline
cursorappears.Thenclickanddragtoadjustthesize.
4. Saveandrestorework
TosavetheWeavesessionforlaterwork,select
Weave
fromthemainmenu.Fromhereyou
canchoosetosaveyoursessiontotheserverortothedownloadfolderonyourcomputer.We
willsavethissessiononthecomputer.Fromthedropdownmenuselect
Savesessionas...
Theexportsessionstateboxwillappear.Enteraname,inthiscasewewillenter
ConsumerConfidence
.Thenclick
OK
.Yoursessionisnowsavedtoyourcomputer.
Torestoreyoursession,openanewWeaveandclickon
LoadSession.
Clickon
MyComputer
inthepanelonthelefttorestoreaWeavefilefromyourcomputer.
IfyouhavequickaccesstothesavedWeavefile,youcansimplydraganddropitonthe
workspace.Ifitisnoteasilyathand,select
Clicktoopena.weavefile
.Browseinthe
downloadsectionofyourcomputerfor
ConsumerConfidence.weave.
Doubleclickonthefile
andtheWeavesessionisrestored.