Visualization
This interactive scatter plot visualizes patient mortality probability data from the Beth Israel Deaconess Medical Center’s MIMIC ICU dataset, showing age against predicted mortality probability with circle size representing ICU length of stay. The code uses D3.js with `d3.svg.axis`, `d3.behavior.zoom`, and `d3-tip` for tooltips, rendering circles as SVG elements. A clickable legend filters the display by ICU unit, while filled versus unfilled markers indicate actual patient mortality via the `hospital_expire_flag` field. The CSV data includes anonymized patient records with age, stay duration, and care unit classifications.
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>