Skip to main content
100%

Medical Cost Personal (charges vs bmi)

✓ Published1🌍 Public
Mmeperezcuello
Last edited Sep 17, 2019
Created on Sep 11, 2019

This visualization uses an interactive scatterplot to explore the relationship between patient BMI and medical charges, with each circle representing a patient. The color distinguishes smokers from non-smokers, while the circle size encodes patient age. The chart is built with the vega-lite-api library on top of Vega-Lite and d3, loading data from a CSV file hosted as a GitHub gist. The code customizes the axes and label styling through a config object.

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