🌍 Public
Viewing a saved revision (read-only)
8cad55571b9f4af3a2c1b483ed8e2713
Q1 -Dinesh D3.js!
This scatter plot visualizes the relationship between alcohol content and wine quality, with each point's color encoding the wine's citric acid level using a turbo color scale. The visualization displays the data from the included `wine_quality.csv` file, rendering as an SVG. The code constructs a reusable chart function using D3.js v7, leveraging `d3.scaleLinear`, `d3.extent`, `d3.axisBottom`, and `d3.axisLeft` to build the axes and scales. The color mapping employs `d3.scaleSequential` with `d3.interpolateTurbo`.
AI-generated description