π Public
BMI in different US Region and Comparison Between Smoker/Nonsmoker
This example visualizes average BMI across US regions, split by smoker status, using a faceted bar chart. The chart shows that the southeast region has the highest BMI, while smokers do not necessarily have higher BMIs than nonsmokers. The visualization is built with Vega-Lite API and D3, reading data from a CSV file. It uses aggregated bar marks, with region as columns, smoker status on the x-axis, and average BMI on the y-axis, with tooltips for detailed values.
AI-generated descriptionA visualization constructed using the vega-lite-api.
Medical Cost dataset has been visualized, southeast has hightest BMI across the country. Smokers are not neccessarily fatter
gist is from here
MIT Licensed
Comments
Sign in to join the discussion.