How fit do you feel?
This chart uses a grouped bar chart to show how people’s self-rated fitness level relates to their exercise frequency. Each bar’s height represents the number of survey respondents, with bar groups split by perceived health and colored by how often they exercise. Built with the Vega-Lite API and d3.csv for loading, the visualization reads fitness survey data from a Kaggle-hosted CSV, then renders interactive tooltips via vega-tooltip. The code applies custom axis and label styling from a config object to improve readability.
AI-generated descriptionA visualization constructed using the vega-lite-api.
The data shown here comes from the from [Kaggle: https://www.kaggle.com/nithilaa/fitness-analysis ] via [Gist https://gist.githubusercontent.com/arjunrao796123/4ac77ce084009ca10476480bbebec3b1/raw/ef6f41c7ecd793a145538f0ce7cecd50fdb825c2/Fitness_survey.csv]