Skip to main content
100%

Scatterplot multiple series v2

✓ Published0🌍 Public
MMettiHoof
Last edited Nov 18, 2016
Created on Nov 18, 2016

This scatterplot visualizes the relationship between sepal width and sepal length for three iris species, with each species assigned a distinct color from a categorical scale and displayed as a small dot. The chart uses D3 v3 to load a TSV file with `d3.tsv`, compute the x- and y-axis domains with `d3.extent`, and encode position with `d3.scale.linear`. Color encoding leverages `d3.scale.ordinal` (via `d3.scale.category10()`), while axes are rendered using `d3.svg.axis`. A legend identifies each species, and the SVG rendering follows conventional margin-based layout.

AI-generated description

This scatterplot is constructed from a TSV file storing the dimensions of sepals and petals of various iris flowers. The chart employs conventional margins and a number of D3 features:

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/3887118'>Scatterplot</a>

gpl-3.0 Licensed

Similar vizzes