Skip to main content
Public

Share visualization

Loading preview…

Fork of NBA_TEAM

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

Fork of NBA_TEAM

0
FFAN CHI YU(范紀予)
Last edited Oct 18, 2022
Created on Oct 15, 2022
Forked from NBA_TEAM

This map of NBA team locations uses D3 v5 projections with `geoAlbers` to render U.S. state boundaries and team positions. The code plots each team as a large gray circle at its latitude and longitude, with the team abbreviation as text labels. It retrieves data from a CSV URL and TopoJSON from the us-atlas package, combining React state hooks with D3's `geoPath` and `geoGraticule` APIs. The visualization also includes state interiors and graticule lines for geographic context, using SVG rendering within a React component.

AI-generated description

A map showing location of most of the airports in USA. Project Information.

Comments

Sign in to join the discussion.

MIT Licensed