Skip to main content
100%

Figure5.4 Scatterplots

✓ Published0🌍 Public
BBruceHenry
Last edited Sep 24, 2017
Created on Sep 24, 2017

Three small scatterplots demonstrate how the same three-point dataset can be encoded differently. Each plot uses the same x and y coordinates, but the second adds explicit per-point colors, and the third varies both color and radius. The code builds each chart by appending SVG circles and ordinal axes, using `d3.svg.axis` for tick marks. Data is hardcoded as JavaScript arrays, and the `render` function is called three times to produce the side-by-side comparison.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes