🌍 Public
Viewing a saved revision (read-only)
ae81f98a95554dc9bd1a60e637328c76
Activity_6 Task-3
This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width for three species of iris flowers. Each flower is represented as a colored circle, with sky blue for setosa, light green for versicolor, and orange for virginica. The visualization uses D3 v6 with SVG rendering, employing d3.scaleLinear, d3.extent, d3.axisLeft, and d3.axisBottom to construct the plot. Data is loaded asynchronously via d3.csv from a GitHub gist, and the code calculates the x and y positions based on the measured petal dimensions.
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.