Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
Ppanyamsantosh09@gmail.com
Last edited Oct 20, 2025
Created on Oct 6, 2025
Forked from HTML Starter

This interactive dashboard presents three linked D3.js v7 visualizations built from the classic cereal dataset of 77 products. It shows a bar chart of average calories by manufacturer, a scatter plot of sugar content versus consumer rating with hot/cold cereal color encoding, and a multi-series chart combining average calories as bars with average rating as a line across manufacturers. The code uses D3's `rollup`, `scaleBand`, `scaleLinear`, `axisBottom`, and `axisLeft` APIs for data aggregation and chart construction, rendered as responsive SVGs with a dark theme, gridlines, tooltips, and a legend.

AI-generated description

ICE5 – Cereal Dataset Visualizations

This project contains three D3.js visualizations of the cereal dataset:

  1. Bar Chart – Average Calories by Manufacturer
  2. Scatter Plot – Sugar vs. Rating
  3. Multi-Series Chart – Avg Calories (Bars) + Avg Rating (Line) by Manufacturer

Data Source

The visualizations use the classic cereal dataset with nutritional information and consumer ratings for 77 cereals.

Implementation

  • Uses D3.js v7 for data visualization
  • Responsive design that adapts to container width
  • Clean, modern dark theme with accent colors
  • Tooltips for interactive elements
MIT Licensed

Similar vizzes