CS573 Final Project - Average Calories by Restaurant
This interactive bar chart shows the average calorie counts for six fast food restaurants, using data from a Kaggle fast food nutrition dataset. Colored bars represent each restaurant, and hovering over a bar turns it black and displays a tooltip with the exact calorie value. The visualization is built with D3.js v7, using `scaleBand` and `scaleLinear` for axes, and relies on the `@pbruss/responsive-axes` library for chart layout. The chart is responsive, with resizing handled by `observeResize`, and includes labeled axes for restaurant names and calorie counts.
AI-generated descriptionAn interactive and responsive bar chart showing the calories by fast food restaurant. Includes a tooltip feature to view the exact values.
Dataset Source: https://www.kaggle.com/datasets/joebeachcapital/fast-food