bar line plot with line on first axis

Here I have used mean of mpg_mean for BarChart and wt_mean for SeriesPlot. BarChart is on Y2axis to prevent merging of the axis range. Y2 axis is not displayed and the Bar values are displayed on the bar. You can label the seriesplot instead of bar if you want or rearrange the values around in the legend.

bar line plot with line on first axis

Here I have used mean of mpg_mean for BarChart and wt_mean for SeriesPlot. BarChart is on Y2axis to prevent merging of the axis range. Y2 axis is not displayed and the Bar values are displayed on the bar. You can label the seriesplot instead of bar if you want or rearrange the values around in the legend.

bar line plot with line on first axis

While the above graph looked reasonable right after I made it, when I came back to it, I could not understand why it appeared as if Hybrids had an average weight of over 4000 lbs. The association between the left axis and the bar chart is very strong, that any consumer of this graph may be mislead to think the bar represents weight, even when it is labeled with the Mileage value. If we want only one axis, the following graph with both plots showing data labels may be better: