Gist 788c07fefb1d6fb9dfe6d546010188e1
✓ Published0🌍 Public
Aandybak
Last edited Jul 13, 2024
Created on Jul 13, 2024
The visualization displays a pie chart of file type counts across a directory tree, highlighting dominant extensions while omitting labels and percentages for slices under 5%. It also computes and prints statistics for GLTF generators, JSON format types, and directory extension combinations. The chart is rendered with Matplotlib’s `plt.pie`, using `autopct_func` to conditionally show percentages and larger font sizes for readability. Data is collected by scanning subdirectories with `os.walk` and JSON parsing via `json.load`.
AI-generated description