Total Salary in MLB from Season 13~16
✓ Published0🌍 Public
This line chart visualizes the total team salaries across Major League Baseball from 2013 to 2016, aggregated by season using `d3.nest` and `d3.sum`. The chart plots season years on a time scale and salary totals on a linear scale, with a smoothed line generated by `d3.line` and `curveBasis`. Axes are rendered using `d3.axisBottom` and `d3.axisLeft`, with tick labels formatted via `d3.format` and `d3.timeFormat`. The data comes from Statcrunch’s MLB Team Stats 2013–2016 dataset, loaded via `d3.csv`.
AI-generated descriptionThis line chart shows total salaries from all the teams in MLB from 2013 ~ 2016. The data comes from Statcrunch - MLB Team Stats 2013-2016.
MIT Licensed