Visualizations

Millions of glucose levels

Blood glucose readings across 300,000 hospitalizations of 150,000 people, cross-filtered against the diagnostic category each patient was admitted under.

The two views are linked. Select bars in the diagnostic-category chart to filter the heatmap and isolate the pattern for those admissions; or drag a rectangle in the heatmap to show only the categories that fall inside it. Both queries run in your browser, against the full table, as you drag.

Loading chart data…

The time axis runs from 2105 to 2214. That is not an error: MIMIC-IV shifts every patient's dates forward into the 2100s by a random per-patient offset, which preserves the intervals within a single stay — the thing the heatmap is actually about — while severing any connection to a real calendar date.

Data and code

  • Data: MIMIC-IV, a de-identified critical care database.
  • Transform: glucose_full.sql.