🌍 Public
Viewing a saved revision (read-only)
05814ad06b0c433f9aafb3d8309b5065
Activity 7 Scatter Plot
This scatter plot visualizes the Iris dataset, encoding petal length on the x-axis and petal width on the y-axis, with points colored by species (skyblue for setosa, lightgreen for versicolor, orange for virginica). The D3 v6 code uses scaleLinear, extent, axisLeft, axisBottom, and csv to load and render SVG circles. The visualization loads data from a remote CSV file and applies a custom species-to-color mapping, with axis labels for petal length and sepal length.
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.