Fork of Activity6_Question 3
✓ Published0🌍 Public
This scatter plot visualizes the relationship between alcohol content and density for different wine types, with a shape-based legend distinguishing categories. Built with D3 v7, it uses `scaleLinear`, `scaleOrdinal`, and `symbolsFill` from the d3 module, along with custom ES6 modules for axes and legend rendering. Data is fetched from a GitHub-hosted CSV file and parsed with `csvParse`. The visualization updates responsively to window size and demonstrates a declarative SVG-building pipeline using `select` and `join` operations.
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