2021: Week 35 - Picture Perfect

 Challenge By: Jenny Martin

Data preppin' ideas really are all around! I was hanging some pictures the other week and I had some weird and wonderful sizes, so working out the perfect frames was a bit tiresome. If only I could use a data preppin' tool to speed up the process... 

Inputs

We have 2 inputs this week:

  1. Picture sizes 

  2. Frame sizes 
     

Requirements

  • Input the data
  • Split up the sizes of the pictures and the frames into lengths and widths
    • Remember an inch is 2.54cm
  • Frames can always be rotated, so make sure you know which is the min/max side
  • See which pictures fit into which frames
  • Work out the area of the frame vs the area of the picture and choose the frame with the smallest excess
  • Output the data

Output


  • 4 fields
    • Picture
    • Frame
    • Max Side
    • Min Side
  • 14 rows (15 including headers)

After you finish the challenge make sure to fill in the participation tracker, then share your solution on Twitter using #PreppinData and tagging @Datajedininja@JennyMartinDS14 & @TomProwse1

You can also post your solution on the Tableau Forum where we have a Preppin' Data community page. Post your solutions and ask questions if you need any help! 


Popular posts from this blog

2023: Week 1 The Data Source Bank

2023: Week 2 - International Bank Account Numbers

How to...Handle Free Text