Mgg11 Python VisualisasiData
Mgg11 Python VisualisasiData
(tool: Python)
Chris North:
Data-transfer via Vision vs Ears = 100MB/s : (<100b/s)
Ref: [6]
Sumber: https://www.federalreserve.gov/foia/2014currency.htm
29/10/2018 Pengenalan Teknologi Informasi 9
Data Visualization
Data Visualization:
the representaton and presentation of data
that exploits our visual perception abilities
in order to amplify cognition
Note: stages are often iterative and may have a flexible order or
even be omitted in some projects.
Fry, B. (2008). Visualizing data. Sebastopol, CA: O’Reilly Media, Inc.
(c) Angela Zoss ([email protected])
df = pd.read_csv("D:/data.csv")
df.plot(kind="bar",x="name",y="age",title="Age of Person")
plt.show()
df2 = df["state"].value_counts()
df2.plot(kind = "pie")
plt.show()
df3.plot(kind="bar",stacked=True)
plt.show()
df1.plot(kind="line",x="Year",
y=["Bears","Dolphins","Whales"])
plt.show()
df1.plot(kind="area",x="Year",
y="Dolphins")
plt.show()
plt.show