🌍 Public
Viewing a saved revision (read-only)
67b7cab3dcf24c9f8891f4e9aacea848
Reusable D3 Scatter Plot
This reusable D3 scatter plot visualizes the Iris Dataset, showing the relationship between petal width and sepal length with distinct symbols for each species. Built with a custom scatterPlot function, it uses D3's `scaleLinear` and `scaleOrdinal` for axes and symbol scaling, `axisLeft` and `axisBottom` for axis rendering, and `symbol().size()` to generate varied path shapes. The SVG output fills the browser window, with margins and a fixed symbol size of 100, while the data is parsed from a remote CSV, converting numeric columns to numbers before plotting.
AI-generated descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset