Activity_6_Tutorial 3.1
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, showing petal length and petal width for three flower species, distinguished by color. The visualization is rendered as SVG using D3 v6, with axes labeled for petal length and sepal length. The code loads data from a remote CSV via `d3.csv`, scales the x and y values using `scaleLinear`, and creates colored circles for each data point. It uses `axisLeft` and `axisBottom` for the axes and sets the plot to fill the browser window.
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