Skip to main content
Public

Share visualization

Loading preview…

CSCE 5320 HW5

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

CSCE 5320 HW5

0 stars0Public
Rrobersontanner1@gmail.com
Last edited Sep 30, 2026
Created on Sep 30, 2026
Forked from HTML Starter

This example visualizes individual player statistics for the San Diego Padres, using home runs (HR) on the x-axis and batting average (BA) on the y-axis. It also encodes position as color and RBI as bubble size, with axes and labels styled for dark background. The code loads CSV data via `d3.csv`, applies numeric conversion, and uses `d3.scaleLinear` for positioning plus `d3.mean` and `d3.median` to summarize statistics in a header. Marks are drawn as colored circles with white strokes inside a single SVG group, and the chart includes a legend area on the right margin.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed