Activity6_question 4
✓ Published0🌍 Public
This example displays a bubble plot visualizing the first 50 entries of the WineQT dataset, showing the relationship between free and total sulfur dioxide concentrations, with bubble size encoding wine quality and color representing the quality rating on a categorical scale. The visualization uses D3 v6 to load the CSV data from a GitHub repository, applies linear scales for the axes, and a square-root scale (`d3.scaleSqrt`) for bubble sizing. The SVG renderings are generated with `d3.axisBottom` and `d3.axisLeft` for tick marks, and points are drawn as `circle` elements with an ordinal color scheme (`d3.schemeSet2`) and an opacity of 0.7.
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