News

johndcook.com
johndcook.com > blog > 07/17/2026 > visualizing-medical-code-hierarchy

Visualizing medical code hierarchy with treemaps

9+ hour, 7+ min ago  (128+ words) Quick follow up to the previous two posts on ICD-10 codes and HCPCS codes. This post uses Python’s squarify library to create treemaps visualizing how many codes begin with each letter. Here’s the treemap for HCPCS codes. And here’s the treemap…...