Fork of D3 Scatter Plot
✓ Published0🌍 Public
This example presents a scatter plot of the classic Iris dataset, mapping petal length against sepal length for individual flowers. The visualization uses circles of a fixed radius to represent data points, with axes positioned along the bottom and left edges of the SVG canvas. Using d3.csv, the code loads data from a remote gist, parses numeric columns, and applies d3.scaleLinear with d3.extent to compute the domain for each axis. The visualization is rendered using the d3.select and join operations to create SVG circle elements, with d3.axisLeft and d3.axisBottom generating the chart's coordinate frames.
AI-generated descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.
MIT Licensed