{"version":"1.0","type":"rich","title":"Improving a Bar Chart for 2017 Baseball Hitting","description":"This bar chart shows the percentage of at bats ending in a hit by pitch for 2017 MLB players with at least 10 HBPs. Bar color intensity encodes total at bats, with a legend mapping ordinal ranges from 276 to 622. D3 v5 with an SVG renderer uses `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to construct the visualization, while a custom `colorLegend` function and `d3.interpolateOrRd` apply the chromatic scale. Data is loaded from a CSV using `d3.csv`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/40cca1474333415c87df0db63d5c7a48?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}