Update README.md
Browse filessebuah dataset yang memvisualisasikan tentang data pengangguran gen z
README.md
CHANGED
@@ -1,5 +1,36 @@
|
|
1 |
-
---
|
2 |
-
license: other
|
3 |
-
license_name: project
|
4 |
-
license_link: LICENSE
|
5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
license_name: project
|
4 |
+
license_link: LICENSE
|
5 |
+
task_categories:
|
6 |
+
- table-question-answering
|
7 |
+
tags:
|
8 |
+
- code
|
9 |
+
pretty_name: dataset prngangguran gen z
|
10 |
+
size_categories:
|
11 |
+
- 1K<n<10K
|
12 |
+
---
|
13 |
+
---
|
14 |
+
license: other
|
15 |
+
license_name: project
|
16 |
+
license_link: LICENSE
|
17 |
+
|
18 |
+
import pandas as pd
|
19 |
+
import matplotlib.pyplot as plt
|
20 |
+
import seaborn as sns
|
21 |
+
|
22 |
+
data = pd.read_csv('data_pengangguran_gen_z.csv')
|
23 |
+
|
24 |
+
print(data.head())
|
25 |
+
|
26 |
+
pengangguran_per_kategori = data['kategori'].value_counts(normalize=True) * 100
|
27 |
+
print(pengangguran_per_kategori)
|
28 |
+
plt.figure(figsize=(10, 6))
|
29 |
+
sns.barplot(x=pengangguran_per_kategori.index, y=pengangguran_per_kategori.values)
|
30 |
+
plt.title('Persentase Pengangguran Gen Z Berdasarkan Kategori')
|
31 |
+
plt.xlabel('Kategori')
|
32 |
+
plt.ylabel('Persentase (%)')
|
33 |
+
plt.xticks(rotation=45)
|
34 |
+
plt.show()
|
35 |
+
|
36 |
+
pengangguran_per_kategori.to_csv('hasil_analisis_pengangguran_gen_z.csv')---
|