🌍 Public
DV TASK-8 Q4
This interactive bubble chart visualizes the Iris dataset, plotting sepal length against sepal width for three flower species. Each circle’s radius encodes petal length, while its color distinguishes species using a categorical color scale. The visualization includes axes with descriptive labels, a legend, and hover tooltips that display species and measurements. Built with D3 v7, the chart uses `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.axisBottom`/`d3.axisLeft` to render the SVG elements, with dynamic interactions driven by mouse event listeners.
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.