update canadian crime stats example to use legend
allow group name to be set based on associated accessor