Add: graph for Track Length Distribution
This commit is contained in:
parent
e150e47b91
commit
b6cd17e71a
1 changed files with 7 additions and 0 deletions
|
@ -41,3 +41,10 @@ df = pd.DataFrame(music_data)
|
|||
import seaborn as sns
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
plt.figure(figsize=(10, 6))
|
||||
sns.histplot(df['length'], bins=30, kde=True)
|
||||
plt.title('Track Length Distribution')
|
||||
plt.xlabel('Length (seconds)')
|
||||
plt.ylabel('Count')
|
||||
plt.show()
|
||||
|
||||
|
|
Loading…
Reference in a new issue