🌍 Public
Viewing a saved revision (read-only)
3b706bfd64f943a58ab576e44971d0f0
Task8_Q3_6
This scatter plot visualizes the WineQT dataset, showing fixed acidity on the x-axis and citric acid on the y-axis, with each point colored by wine quality rating (from 3 to 8). The code loads CSV data from a GitHub repository, parses numeric fields using custom row parsing, and renders circles via D3 v6’s selection and join methods. Axes are generated with `axisLeft` and `axisBottom`, while linear scales map data ranges to pixel coordinates. The visualization also encodes residual sugar and volatile acidity into the circles’ `rx` and `ry` attributes, though these do not affect the default circle radius.
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.