Skip to main content
100%

Creating a Scatter Plot with D3.js

✓ Published0🌍 Public
AAsherpranayp
Last edited Mar 11, 2023
Created on Mar 10, 2023

This interactive scatter plot visualizes the Iris dataset, mapping petal length and width to Cartesian coordinates while encoding species through color. Built with D3.js v6, it uses `scaleLinear` for axes, `extent` for domain calculation, and `select` with `.join` for SVG circle rendering. The chart includes rotated axis labels for sepal length and petal length.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes