DA2
DA2
DA2
fig, ax=plt.subplots()
ax.set_axis_off()
rcol=plt.cm.BuPu(np.full(len(y),0.1))
ccolor=[["y","b","r","b"]for j in y]
plt.table(
cellText=z,
rowLabels=y,
colLabels=x,
colWidths=[0.2]*4,
cellColours=ccolor,
rowColours=rcol,
cellLoc="center",
loc="upper left")
plt.show()
Week 5 task Visual Idiom
Task Abstraction
For all the above requirements, they can be mapped using queries
Dataset: table
Visual Idiom encoding techniques: the data can be arranged and expressed in graph for comparison
1. To check peak hours, the bar graph can be plot where the height represents the total flights at
the time and the x-axis represents the time slots
2. Other method could be scatter plots where the number of stops and flight durations are
mapped with different colors.