Hello,
I'm relatively new to Alteryx, and I've been working on creating visualizations for some of my company's data. Specifically, I'm trying to make a heat map of liabilities in the US for each US state. I'm using the States.yxdb file from the #244 weekly challenge, but whenever I run the workflow, the map has to zoom way out for Alaska. I isolated Alaska specifically in my data and re-ran my workflow, but it still zooms all the way out for Alaska. I would greatly prefer if it focused on Alaska instead - does anyone know how to do this? Screenshot below of the result I'm getting:
As a side note, I made sure to check the box "Zoom to Layer" in the layers tab of the function.
Attached is the .yxdb file that I'm using to create Alaska.
Thanks for the help!
Solved! Go to Solution.
@JohnColucci I think the issue here is within the data itself. If we look at Alaska, we see that the polygon actually contains points that wrap around the left side of the map onto the right.
If we split the Alaska polygon out into it's constituent points, filter out those on the right-hand side of the map (X > 0) and then rebuild another polygon, we start to get the zoom you're looking for:
However, this then isn't a full view of the state and so you'll have to either choose to maintain the current zoom (which needs the full map due to the wrap), or lose a section of your data/state. Workflow attached.
DataNath, this is perfect - exactly what I was looking for. Thank you! -John