Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE-6 Marks and Channels

Public visualization

Viewing a saved revision (read-only)

c050aecc4a4447a18dcb37121540c23b

Fork of ICE-6 Marks and Channels

0 stars2🌍 Public
Ppvvaishnavi93@gmail.com
Last edited Mar 7, 2026
Created on Mar 7, 2026

This bar chart displays the average calorie count for menu items at several fast-food restaurants, using data from a CSV file. The visualization encodes the average calories on the y-axis and restaurant names on the x-axis using rectangular bars. Built with React and D3.js (v7), the code uses `d3.csv` to fetch data, `d3.rollups` and `d3.mean` for aggregation, and `d3.scaleBand` and `d3.scaleLinear` for axes, rendering the final chart as SVG.

AI-generated description