Skip to main content
100%

Plot Template v9.24.20

✓ Published1🌍 Public
Eegrebing
Last edited Sep 24, 2020
Created on Sep 24, 2020

This scatter plot visualizes the Iris dataset, mapping sepal length on the x-axis against sepal width on the y-axis, with each species color-coded via a d3.scaleOrdinal. The code uses d3.csv to load the data, d3.scaleLinear for both axes, and d3.axisBottom/d3.axisLeft with tick lines to create gridlines. Rendered as SVG, it includes labeled axes, a title, and semi-transparent circles with stroke, demonstrating a customizable D3.js v6 template.

AI-generated description

This code is designed to be a scatter plot starter that can be easily modified for different D3.js applications.

MIT Licensed

Similar vizzes