Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

BMI in different US Region and Comparison Between Smoker/Nonsmoker

Public visualization

BMI in different US Region and Comparison Between Smoker/Nonsmoker

0 stars0🌍 Public
Wwenleicao
Last edited Sep 17, 2019
Created on Sep 13, 2019

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 description

A 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

Comments

Sign in to join the discussion.

MIT Licensed