Skip to main content
100%

ICE-6 Marks and Channels

✓ Published0🌍 Public
Ppvvaishnavi93@gmail.com
Last edited Mar 7, 2026
Created on Mar 7, 2026

This bar chart shows the average calorie count for each fast-food restaurant in the dataset, with each bar representing a restaurant and its height encoding the average calorie value. The visualization is built using React with D3.js, where the raw CSV data is aggregated via `d3.rollups` to compute means per restaurant. The chart renders as SVG with axes created through `d3.axisBottom` and `d3.axisLeft`, and bars drawn as `rect` elements with a steelblue fill. The x-axis labels are rotated 30 degrees for readability, and the title clarifies the chart's purpose.

AI-generated description
MIT Licensed

Similar vizzes