Activity6_question 3
✓ Published0🌍 Public
This scatter plot visualizes the relationship between volatile acidity and citric acid in wine samples, with each point color-coded by quality rating. The code loads data from a GitHub-hosted CSV file using `d3.csv`, then processes numeric fields before rendering SVG circles. It uses `d3.scaleLinear` for both axes, `d3.axisBottom` and `d3.axisLeft` for ticks, and a custom color mapping for quality values. The visualization is built with D3 v6, rendered entirely in SVG, with labels added for both axes.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed