
LeBron’s Teammates Clustering Analysis
Introduction
What makes a great teammate for LeBron James? Over a career spanning two decades, four championships, and stints with the Cavaliers, Heat, and Lakers, LeBron has played alongside a wide range of players—some who elevated his game, and others who struggled to make an impact. To explore patterns among his many teammates, we use k-means clustering to group players into three groups based on their average points and assists per game while playing with LeBron. We also separated players by team to see how their supporting casts differed across each era. This analysis reveals what types of players surrounded LeBron on each team, offering insights into which rosters were superstar-heavy and which required him to carry more of the load, highlighting just how dominant he was, even when the help was limited.
The K-means Analysis
The following sections break down these clusters by the team LeBron played for—the Cavaliers, the Heat, and the Lakers, revealing how his supporting casts varied during each phase of his career. To evaluate impact in a way that’s both measurable and relevant to LeBron’s playstyle, we focus on two core stats: points per game (PTS) and assists per game (AST). These metrics capture not only how much a player contributed to scoring, but also how involved they were in facilitating offense — a crucial dynamic when playing alongside someone as versatile as LeBron. Players who score efficiently or help generate shots for others tend to play larger roles in the flow of the game. By clustering teammates based on these two variables, we can differentiate between high-usage stars, complementary scorers, and role players — offering a practical lens through which to view their value within each era of LeBron’s career.
These visualizations help highlight: - The different players LeBron played with on each different team he was on throughout his carrer - LeBron was not surrounded by many superstars in his time with the Heat, but still won back-to-back championships - His current team, the Lakers, have gone through many different players during LeBron’s time there but have not had much success


Descriptions of each clustering group is provided below.
SuperStars: This cluster includes players with high points per game and high assists per game while playing with LeBron. Notably, LeBron played with only one superstar during his time with the Miami Heat. Yet, he won back-to-back NBA Championships, highlighting that this was likely when he was playing some of the best basketball of his career.
Average/Above Average Players: These players were essential pieces of the team. They put up consistent numbers each game, and LeBron could rely on these players to have an average performance each night. These players were key for playoff runs, and this group includes scorers and passers who benefited from LeBron being on the floor. Again, we can see that LeBron was not surrounded by many of these players in Miami, highlighting that he played arguably the best basketball of his career to carry this team to back-to-back championships.
Bench Players: This grouping of players had a limited impact on offensive production. Many of these players in this cluster were big men who rebounded the ball or role players known for their excellent defense and hustle. Some members of this group saw minimal playing time and were statistically below average by NBA standards. There impact may not have been seen on the court but they likely contributed to the team in other ways such as leadership, team chemistry, and work ethic
Table
The interactive table below allows you to search through all of LeBron’s teammates and see which players are in what cluster, as well as the team they played with LeBron and their points and assist averages.
While the clustering analysis reveals the types of players LeBron shared the court with — from superstars to reliable contributors to role players — it doesn’t tell the whole story. Basketball is a team sport built on chemistry, familiarity, and shared experience. Though stats help classify the types of players LeBron played with, they don’t capture how those players were connected — or how often their careers overlapped. Beyond being the focal point of each team, LeBron often served as the unifying force that brought players together, forming core units that spanned multiple seasons and sometimes even franchises. To better understand those relationships, we now turn to a network analysis of LeBron’s career — mapping how frequently he shared the floor with different teammates and revealing the interconnected structure of the rosters that defined each chapter of his journey.