# Create histogram from df ##### df\_trace\_person\_count sample:
trace idno of unique person
0TRACE\_PERSON\_000000000316
1TRACE\_PERSON\_000000000520
2TRACE\_PERSON\_00000000115
.........
313TRACE\_PERSON\_000000099520
314TRACE\_PERSON\_00000009986
315TRACE\_PERSON\_00000009998
##### Code: ```python import matplotlib.pyplot as plt fig = plt.figure(figsize=(10,10)) axes1 = fig.add_subplot(1,1,1) axes1.hist(df_trace_person_count['no of unique person'],bins=72, color='black') axes1.set_xlabel('Count of people') axes1.set_ylabel('Count of clusters') ``` ##### Result: [![image.png](https://bookstack.fscene8.me/uploads/images/gallery/2024-01/scaled-1680-/HTgimage.png)](https://bookstack.fscene8.me/uploads/images/gallery/2024-01/HTgimage.png)