Skip to main content
100%

Get it Right - Scatter Plot

✓ Published0🌍 Public
WWaseem Medhat
Last edited Dec 3, 2022
Created on Dec 3, 2022
Forked from D3 Scatter Plot

This scatter plot visualizes the relationship between petal length and sepal length in the Iris dataset, with each flower represented as a circle. The visualization uses d3.csv to load the data, d3.scaleLinear for coordinate mapping, and a custom scatterPlot function that employs d3.axisBottom and d3.axisLeft for the axes. The SVG is rendered across the full browser window, with points styled with a fixed radius, and the code leverages d3’s data join pattern to manage the circle elements.

AI-generated description

Reusable Scatter Plot

MIT Licensed

Similar vizzes