Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

MLB Parks

Public visualization

Viewing a saved revision (read-only)

a131caa797c04bdcacd7775bddc539f7

MLB Parks

0 stars0🌍 Public
AArubaKLM
Last edited Jan 17, 2023
Created on Jan 16, 2023
Forked from D3 Starter

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