Design thinking reflection

AJ Deguire

Short and Sweet

 

- I have many oppritunites to advance in newfound ideas. From the start of the unit I was able to find a need by observation and empathy. During the short term cycle I realized that an interactive map is a need.

-Doing the whole design thinking process I was able to analyze peoples wants and needs and notice that there is a huge difference between the two. There was a want for an app, but a need for jsu the help to get around school so it wasnt a necessity.

The Coding Process

AJ Deguire

After long hours being fed up and re calculating here is the final product of my Python Coded Bar stacked chart.

 

Code:

# -*- coding: utf-8 -*-
"""
Created on Tues Sept 19  04:00:54 2016

@author: Ajaydeguire
"""

import numpy as np
import matplotlib.pyplot as plt


N = 5
a = (1.3, 1.12, 1.01, 1.05, 1.14) # under 18 years old
b = (1.14, 1.12, 1.63, 1.38, 1.60) #18-24
c = (1.73, 2.0, 1.86, 1.99, 2.04) #25-34
d = (2.75, 2.71, 2.58, 2.46, 2.48) #35-49
e = (3.91, 3.42, 2.93, 3.50, 3.71) #50-64
f = (1.72, 1.71, 1.56, 1.82, 2.14) #64 & older

ind = np.arange(N)    # the x locations for the groups
width = 0.55       # the width of the bars: can also be len(x) sequence

p1 = plt.bar(ind, a, 1, color='r') #p1-p6  are the bars that are stacked on eachother
p2 = plt.bar(ind, b, 1, color='b', bottom=a)
p3 = plt.bar(ind, c, 1, color='y', bottom=[a[j] +b[j] for j in range(len(a))]) #the [brackets] are shown to seperate each range or each bar stacked on eachother

# J is the last data given so thats lthe rage the stacked bar graph will have.


p4 = plt.bar(ind, d, 1, color='g', bottom=[a[j] +b[j] +c[j] for j in range(len(a))])
p5 = plt.bar(ind, e, 1, color='orange', bottom=[a[j] +b[j] +c[j] +d[j] for j in range(len(a))])
p6 = plt.bar(ind, f, 1, color='purple', bottom=[a[j] +b[j] +c[j] +d[j] +e[j] for j in range(len(a))])


plt.ylabel('Number of Admissions (millions)')
plt.title('Broadway Admissons by Age Group')
plt.xlabel('Broadway Season')
plt.xticks(ind + width/2., ('2010-2011', '2011-2012', '2012-2013',
                            '2013-2014', '2014-2015'))
plt.yticks(np.arange(0, 13))

plt.legend((p1[0], p2[0], p3[0], p4[0], p5[0], p6[0]),('Under 18',
           '18-24', '25-34', '35-49','50-64', '64 & older'))    

#legend is the plot graph but how do i move it outside of the graph????
           
plt.show()