🌍 Public
Viewing a saved revision (read-only)
bdc82ffad9544864acf23599d9f22110
Assignment 7 - Q2 - 2
This chart shows the average alcohol content for each wine quality score in a white wine dataset, with a line connecting the mean values and orange circles marking each point. The visualization is built using D3 v7, with the SVG rendered through a `d3.svg` container. The code loads a CSV from a GitHub Gist, calculates averages using `d3.rollup` and `d3.mean`, and scales data with `d3.scaleLinear`. It draws the line via `d3.line` and axes with `d3.axisBottom` and `d3.axisLeft`.
AI-generated description