🌍 Public
Viewing a saved revision (read-only)
cad7f14d36864ade83ed7ee6ddc01faf
activity6task-3
This visualization displays the classic Iris dataset as a scatter plot, showing petal_length on the x-axis and petal_width on the y-axis. Each data point is a circle colored according to species—setosa appear skyblue, versicolor lightgreen, and virginica orange. The code uses d3.csv to load the dataset from a GitHub gist, d3.scaleLinear for the axes, and d3.axisLeft and d3.axisBottom to render the axis ticks. All marks are rendered as SVG circles via d3.selectAll('circle').data().join(), with the plot sized to the full 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.