Plot from DataFrames using StatsPlots

You can try this:

using StatsPlots
@df df groupedbar(:Country, :Percentage, group=:Energy, ylabel="Percentage", bar_width=0.7, legend=:outertopright)
1 Like