🌍 Public
Activity6_Question3.6
This interactive scatter plot visualizes the relationship between alcohol and density in wine samples, with shape distinguishing wine types. Using D3 v7, it loads data from a remote CSV file and renders an SVG chart with axes, tick marks, and a custom shape legend. The code demonstrates modular ES6 imports, including local modules like axes.js and scatterPlot.js, alongside D3 APIs such as scaleLinear, scaleOrdinal, and symbol for varied data point shapes.
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
Comments
Sign in to join the discussion.