🌍 Public
Viewing a saved revision (read-only)
c874bd9ea25445c5a12f0fa1c34cb4b2
Task8_task3
This scatter plot visualizes the Iris dataset, showing petal length on the x-axis and petal width on the y-axis, with each point colored by species (setosa, versicolor, or virginica). The code also stores sepal length and width values per point, though these are not currently mapped to visual encodings. Built with D3 v6, it loads the CSV data from a GitHub gist, uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to construct the axes, and renders colored circles as SVG markers. The chart fills the browser window, with labeled axes 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.