🌍 Public
Viewing a saved revision (read-only)
e5d9d00d9f14415092ceec793e494367
ICE 6 -1
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