Skip to main content
100%

Activity 6_Question 6

✓ Published0🌍 Public
Aakhilasannayila@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This scatter plot visualizes the relationship between free and total sulfur dioxide levels in wine samples, with each point colored and shaped according to wine quality rating. Using D3.js v6, the visualization maps quality scores to distinct colors via a lookup object and applies different SVG symbol types through `d3.symbol()` and the `shapeMap` dictionary. The code loads wine quality data from a remote CSV file using `d3.csv()`, processes the numeric values, and renders the chart as an SVG with `d3.scaleLinear` axes and `d3.axisBottom`/`d3.axisLeft` for the x and y scales.

AI-generated description
MIT Licensed

Similar vizzes