Next, I had to get the country labels look nice. For that, I used another trick that was in Kevin’s blog post mentioned above: create the labels on a separate sheet and float them behind the polygon viz. I positioned the labels using transparent shapes – another trick I learned from the Flerlage’s blog. This has quickly become one of my favorite and most-used little tricks ever since I read the 14 use cases for transparent shapes blog post.
All that was left after that was implementing the sort functionality. I actually handled this in data prep by creating index fields based on the three sort options. Depending on the sorting parameter I would then use those indexes to calculate the X and Y position of each country in the small multiples grid. I then created the sort buttons and configured the parameter action.
2 Kommentare
Pingback:
Pingback: