VizWiz

Launch, grow, and unlock your career in data
Showing posts with label moving. Show all posts

October 25, 2017

Workout Wednesday: The Seasonality of Superstore

2 comments
Ben Moss has been post a series of really interesting insights that he's been finding in Superstore Sales. In particular, I liked what he found out about Binders...

This week's challenge builds upon Ben's work. First, you'll need this version of Superstore (which is different to Ben's but the same one I normally use for WW).

Here are your requirements:

  1. Create a line chart of the rolling N week cumulative products sold since the first week each product sub-category was sold. In this case, a product sold is the count of the product names.
  2. Allow the user to pick a sub-category to highlight. Make it blue and all others grey.
  3. The sub-category highlighted should also be slightly thicker than all other sub-categories.
  4. Allow the user to define the number of weeks over which to compute the smoothing. The user should only be able to enter values between 8 and 52.
  5. The title and the y-axis should update dynamically based on the number of weeks entered for the smoothing.
  6. Match the tooltip in the chart

That's it! Nothing overly complicated this week. Good practice for calculations though! Enjoy!

January 20, 2017

London Crimes: Exploring the Trends, Locations and Crime Types

No comments

Sasha Pasulka has been a good friend of mine for many years and is moving to London from the US soon in her new role with Tableau. Like anyone else that’s moving to a new country, she finds the entire process is ridiculously overwhelming. Trying to find apartments from thousands of miles away, not knowing anything about neighbourhoods, can be an incredibly daunting task. To help her, I decide to build a viz in Tableau.

I started by using the London Crimes web data connector from Tableau Junkie, only to realise that it’s somehow not returning all of the data. It looks like it returns the data via a radius versus for an entire postcode.


No worries though. Instead I went to data.police.uk and downloaded all crimes from the Metropolitan Police Service. This returned a separate CSV for each month and it also wasn’t limited to just the London area. On the London Datastore I was able to find a list of all LSOAs in the London area. Great! All I needed to do was union all of the CSVs then join them to the London LSOAs. I love that I can do all of this straight inside Tableau now.


From there, it was a matter of building a simple visualisation that allows Sasha to pick boroughs and see the crimes in those areas. Note that I set the map to only display when there are 3 or fewer boroughs selected. did this because the map was simply too slow to draw the dots. Hopefully she likes it and makes it easier for her to settle in.

August 2, 2015

Dear Data Two | Week 11: Emotions

No comments
Emotion: a strong feeling deriving from one's circumstances, mood, or relationships with others. 

Week 11 could not have come at a more perfect time for me. I had so much going on in my life:

  • Putting my family on a plane to Atlanta (before they headed to London a few weeks later)
  • Saying my final goodbyes at Facebook
  • Packing the rest of our stuff for storage
  • Selling our car
  • Saying goodbye to my sister
  • Heading back to London
  • Finishing prep for The Data School.

Throw in marathon training and needless to say, my emotions were all over the board. Basically, I was operating on fumes all week.

My data collection was pretty simple. Since I was already using IFTTT to log Swarm check-ins to Google Sheets, I simply added a column for my emotional state at the time of the check-in. I intentionally did not look back through the data until I was done because I didn't want to bias myself.

The summary is simple: I basically had the emotional state of an 6-month old. I found this to be a really fun analysis, one that I've never done before, and it gave me a very different insight into my week than I expected.  Data for the win!


April 7, 2015

Tableau Tip Tuesday: How to Create a Moving Reference Line

3 comments
It's my first day on the job with The Information Lab, so what better way to celebrate my first day and the release of Tableau 9 than with a video tip.

Over two years ago I wrote about how to create a reference line for today. In this week's tip I take it step farther, by showing you how to create a moving reference line based on user input from a date parameter.

Enjoy!


June 21, 2010

Map: Where Americans Are Moving

No comments
Jon Bruner from Forbes published a pretty cool interactive map that shows the comings and goings of Americans. The map you see below is from my home county. Given that I meet people from all over the country here, I'm not surprised in the least at the flow of people.

Click on the map and you can interact with it yourself. If you want to do any further research, the outbound data can be found here and the inflow data can be found here.