Skip to main content
100%

Medical Cost Personal (charges vs bmi)

✓ Published0🌍 Public
Mmeperezcuello
Last edited Oct 2, 2019
Created on Oct 2, 2019

This visualization displays the relationship between BMI and medical charges for individual patients, with each circle colored by smoking status and sized according to patient age. The plot uses positioned circles from the vega-lite-api library, rendering as an SVG through the vega and vega-lite specifications. Data comes from the Medical Cost Personal Dataset, loaded via d3.csv. The chart applies custom axis and label styling from a configuration object, while incorporating interactive tooltips through vega-tooltip to reveal each patient's region on hover.

AI-generated description

This visualization shows Medical Cost Personal Dataset. It was designed with the objective to see understand clustering by charges and bmi by patient.

Each circle represent if the patient is a smoker, and t he size indicates the age of each patient.

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes