Bar Chart for 2017 Baseball Hitting
✓ Published1🌍 Public
This bar chart ranks 2017 MLB players by their hit-by-pitch rate, showing the percentage of at-bats ending in a hit by pitch for hitters with at least ten such events. Bar opacity encodes the player’s total at-bats relative to the dataset maximum, with darker bars indicating more playing time. Built with D3 v5, the visualization uses `scaleLinear` for the x-axis, `scaleBand` for the y-axis, and SVG rectangles for rendering, with data loaded via `d3.csv` from a GitHub gist. Axis labels and a title annotate the chart.
AI-generated descriptionWhat This Shows
This bar chart shows the percentages of at bats during the 2017 MLB season that ended in a hit by pitch
What Does it Mean?
Color
The intensity of the color indicates the amount of at bats played relative to their peers, maximum at bats for this dataset is 622, minimum for the selected hitters is 276 at bats.
Name
The name of the player followed by their team. For players with multiple teams, TOT is shown
X Axis
This shows the percentage of at bats in which the hitter was hit by a pitch
Who is interesting here?
Anthony Rizzo has a high number of at bats relative to his peers for his HBP percentage, indicating that he may be more of a target to hit due to stance or personality towards pitchers or a multitude of other reasons.
Tyler Flowers, this guy just gets hit way more than his peers, a full %, OUCH
The Chicago Cubs featured 3 players with over ten HBP's
Dataset
The dataset can be found here
MIT Licensed