Visualization
This interactive scatter plot visualizes patient mortality probability at Beth Israel Deaconess Medical Center, using age, ICU length of stay, and predicted mortality from anonymized MIMIC ICU data. Dots are colored by ICU unit, with size reflecting length of stay, and hovering reveals tooltips with patient details. The view supports zooming and panning via `d3.behavior.zoom`, with a legend that filters dots by care unit on click, including toggling between deceased (filled) and surviving patients. Built with D3.js, the chart displays SVG circles and axes, with buttons to reset zoom or switch the x-axis to length of stay.
AI-generated descriptionInteractive Scatter Plot/Legend
Description
This scatter plot was built to help visualize probability of mortality associated with patients at the Beth Israel Deaconess Medical Center between 2001 and 2012, based on their anonymized medical records.
Interpretation
Hovering over each dot shows information associated with each patient. By clicking on the legend (divided by ICU), one can see if the patient is deceased or not (filled represents mortality) and compare that against what our model's predicted probability.
Data
The data used is a subset of the MIMIC ICU Data, which is publicly available. XGBoost was used to predict the mortality rate.
Inspired by
- Zoom-able Scatter Plot by peterssonjonas
- Baseball Scatter plot by syntagmatic
Built with blockbuilder.org
forked from <a href='http://bl.ocks.org/floofydugong/'>floofydugong</a>'s block: <a href='http://bl.ocks.org/floofydugong/9c94ab01d8c3ed8ea3821d4a7e119b07'>Interactive Scatter Plot/Legend</a>