Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment_2_2

Public visualization

Viewing a saved revision (read-only)

76b7e102e9c5410fbfc160b6538309fb

Assignment_2_2

0 stars0🌍 Public
MMadhusudhan Reddy Kuppam
Last edited Mar 26, 2025
Created on Mar 26, 2025

This area chart displays the caloric content of various cereals, with each cereal name on the x-axis and its calorie value on the y-axis. Using D3 v7, the visualization employs `d3.scaleBand` for the categorical axis, `d3.scaleLinear` for the numeric axis, and `d3.area` to generate the filled path. The SVG rendering includes rotated axis labels, data point labels, and a legend, with the data loaded from a remote CSV source via `d3.csv`. The chart appears within a styled container with a white background and subtle shadow.

AI-generated description