Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Scatter Plot

Public visualization

D3 Scatter Plot

0 stars1🌍 Public
JJimMaltby
Last edited Apr 15, 2022
Created on Jun 5, 2021
Forked from D3 Scatter Plot

This D3 scatter plot visualizes the Iris Dataset, mapping petal length on the x-axis against sepal length on the y-axis using `d3.scaleLinear` for both scales. The reusable chart module builds an SVG with axes via `d3.axisBottom` and `d3.axisLeft`, then renders data points as circles with a fixed radius of 5. The implementation follows the D3 reusable pattern, with configurable margins, dimensions, and accessor functions for the data fields.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.

Applying D3 Resuable pattern from Pro D3.js

Comments

Sign in to join the discussion.

MIT Licensed