Skip to main content
100%

Basic Scatter Plot

✓ Published0🌍 Public
SShivaKarpe
Last edited Mar 5, 2022
Created on Mar 5, 2022

This visualization uses D3 v4 to render a basic scatter plot of the Iris dataset, showing sepal length on the x-axis against petal length on the y-axis. The code employs `d3.scaleLinear` for both axes, `d3.axisBottom` and `d3.axisLeft` for tick marks, and SVG circles for data points. It also includes custom axis labels and uses `d3.csv` to load the remote Iris dataset, with data parsed by a row function that converts string values to numbers.

AI-generated description

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

MIT Licensed

Similar vizzes