Multiple Axes Experiment
✓ Published0🌍 Public
CCurran Kelleher
Last edited Jan 31, 2017
Created on Jan 26, 2017
This visualization demonstrates how D3.js can manage multiple y-axes within a single scatter plot, where each axis represents a different baseball statistic from the Baseball.csv dataset. The experiment dynamically shows subsets of the seven available columns, with axes repositioning and resizing to accommodate the selected statistics. Using SVG and animation, the code leverages d3.axisLeft, d3.scaleLinear, and d3.scalePoint to create and update independent axes, while the gist’s render function rebuilds the layout at each interval.
AI-generated descriptionAn experiment in nested D3 components.
forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/aff67b589d0f775a6a7b75f94a05fb14'>Dynamic Baseball Scatter Plot</a>
mit Licensed