Create a Waffle Chart Theme
1. Create a new Adobe Illustrator document.
2. Import canada.shp from the Tutorial Data folder.
3. Join the table CA_commute.csv to the canada_area layer on the NAME column (see Joining Tables).
4. In the MAP Themes panel option menu, click Add MAP Theme. In the New MAP Theme dialogue box, type Commuting into the Theme name box, select Chart as the theme type. Then click OK.
5. Double-click the Commuting chart theme in the MAP Themes Panel. Click Create Legend layer when the message appears to say a Legend MAP Layer is required.
6. In the Edit Chart Theme dialogue box, select Waffle Chart from the Type drop-down list.
7. Check the "Ignore" check box and enter in the following expression: LIKE(NAME,"New Brunswick") OR LIKE(NAME,"Nova Scotia") OR LIKE(NAME,"Prince Edward Island") OR LIKE(NAME,"Newfoundland and Labrador"). This will prevent pie charts from being applied to Canada's Maritime region.
8. In the Source Data tab, with canada_area selected in the Layer drop-down list, click the Add button six times to add six attributes to the pie chart.
9. Highlight the first unspecified attribute. In the Attribute drop-down list, select Cmt_Drive. In the Label field, enter Drive Own Vehicle. In the Appearance section, select a fill colour from the drop-down list or click the colour swatch to open the Color Picker dialogue box.
10. Repeat step nine for the five remaining attributes choosing a unique colour for each attribute and assigning attributes and labels as follows: Cmt_Ride as Small Vehicle Passenger, Cmt_Public as Public Transit, Cmt_Walk as Walk, Cmt_Bicycl as Bicycle, and Cmt_Other as Other.
11. In the Chart Options tab, select Calculate Default Scale to scale your data.
12. Click Apply to apply the theme to the map.
13. Leave the document open for the next exercise.
Create a Chart Legend
14. Select the Commuting chart theme in the MAP Themes panel, open the MAP Themes panel option menu and click Create Legend.
15. In the Create Chart Legend dialogue box, accept the default output layer.
16. In the Style tab, change the number of columns to 2.
17. In the Title tab, click the Draw title check box and enter Commuting Modes. Click the Label appearance text style link. In the Edit Text Appearance dialogue box, leave the font as Arial, choose Black as the text style, and change the font size to 11 pt. Click OK. In addition, click the Draw title line check box to enable it.
18. Click the Draw scale check box In the Edit Text Appearance dialogue box, leave the font as Arial, choose Black as the text style, and change the font size to 11 pt. Click OK. In addition, change the Number of scale decimals to 1.
19. In the Border tab click the Draw border check box to enable the options. For the Margin setting, increase the margin to 10.00 px.
20. Click Create to create the Chart Legend. The Legend will be placed in the centre of the current MAP View and can be manually placed elsewhere on the document.
21. Close the document without saving.
Comments
0 comments
Please sign in to leave a comment.