Tutorial 2 D3
✓ Published0🌍 Public
JJboulery
Last edited Jan 25, 2018
Created on Jan 25, 2018
This D3.js v4 visualization plots the classic Iris dataset, showing the relationship between petal length and petal width for three iris species. Each species is represented by a distinct symbol and color from the d3.schemeCategory10 palette. The chart uses d3.csv to load data, d3.scaleLinear for axes, and d3.axisBottom/left for tick marks. A linear regression line, calculated from the dataset's means, is drawn using d3.line. Hovering over a point displays its coordinates via a text tooltip, and a legend identifies the species. The SVG is generated using d3.select and d3.append.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed