Skip to main content
100%

d3.conventions

✓ Published0🌍 Public
11wheel
Last edited Aug 22, 2016
Created on Mar 13, 2015

This example demonstrates the convenience of the d3-jetpack library for succinctly creating scatterplots. It plots the classic Iris dataset, showing sepal length versus sepal width, with points colored by species and a corresponding legend. The code uses `d3.conventions` to handle scales and axes, `d3.tsv` to load the tab-separated data, and custom `appendData` and `translate` methods to build the SVG. It also includes a tooltip for additional interaction.

AI-generated description

Succinct graphing with d3-jetpack.

Compare to the original.

Similar vizzes