π Public
Viewing a saved revision (read-only)
a131caa797c04bdcacd7775bddc539f7
MLB Parks
This interactive scatterplot visualizes Major League Baseball stadiums, plotting each park's opening year on the x-axis against a user-selected attribute (capacity, construction cost, or opening year) on the y-axis. Points are color-coded by roof type using a d3.scaleOrdinal and SVG circles with native tooltips. Built with React and D3 v7, the visualization uses d3.csv for data loading, d3.scaleLinear for axes, and custom React components for axes and legend rendering. A dropdown menu allows switching between different y-axis attributes.
AI-generated description