Skip to main content
Public

Share visualization

Loading preview…

NBA Teams Mapping Polishing

vizhub.com

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

Before sharing, review the publishing checklist.

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

NBA Teams Mapping Polishing

1
JJack Hanlon
Last edited Nov 29, 2024
Created on Nov 29, 2024
Forked from NBA Teams Mapping

This visualization displays the locations of NBA teams across the United States on an interactive map, with proportional circles representing player statistics and team abbreviations as labels. Users can toggle teams on and off using checkboxes to reduce overlap. The map is rendered using D3.js v5 with the `geoAlbersUsa` projection and `geoPath` API to draw U.S. state and province outlines from GeoJSON data. Team coordinates come from a hardcoded list of city latitudes and longitudes, while circle radii are generated from a classed scale of random values.

AI-generated description

Inspired mostly by Simulated COVID maps in the US and Canada

Looks significantly better in full screen, couldn't get this to look nice in the small viewer window, will try to iron it out as the semester goes on. Same goes with the teams overlapping. Added the selector to initially combat this issue. Mainly wanted to test the visualization before I went head first and actually developed it!

Comments

Sign in to join the discussion.

MIT Licensed