Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 6 -1

Public visualization

ICE 6 -1

0 stars0🌍 Public
CCharith Kapuluru
Last edited Oct 20, 2025
Created on Oct 20, 2025
Forked from D3 Starter

This bar chart shows the average wine quality rating for each rounded alcohol level in a red wine dataset, revealing a general upward trend in quality as alcohol content increases. The code loads the data with `d3.csv` and `d3.autoType`, groups the records using `d3.rollups` to compute mean quality per alcohol level, and sorts the categories. A `d3.scaleBand` positions the bars while a `d3.scaleLinear` maps quality values, with SVG rectangles rendered for each bar and axes added via `d3.axisBottom` and `d3.axisLeft`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed