Skip to main content
100%

Scatterplot with Multiple Series

✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on Jul 26, 2012

This scatterplot displays two series, y1 and y2, as colored dots plotted against a shared x-axis, with each series distinguished by a different fill color from a categorical scale. The data is loaded from a CSV file using d3.csv, and the script dynamically extracts series names by filtering the CSV columns. Scales are set with d3.scale.linear, and axes are rendered via d3.svg.axis. Points are drawn as SVG circles, grouped into series containers, with coordinates mapped through the x and y scales. The visualization relies on D3 v3 and SVG rendering.

AI-generated description
gpl-3.0 Licensed

Similar vizzes