Skip to content

Instantly share code, notes, and snippets.

@vnegi10
Last active August 1, 2020 15:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vnegi10/418cda80dd03b2d9ef5577900b46f0e0 to your computer and use it in GitHub Desktop.
Save vnegi10/418cda80dd03b2d9ef5577900b46f0e0 to your computer and use it in GitHub Desktop.
gr(size=(800,500))
display(groupedbar(names(y), Y,
bar_position = :dodge,
bar_width=0.75,
ylabel = "Number of cases",
xlabel = "Countries",
label=["Deaths" "Confirmed" "Recovered" "Currently infected"],
framestyle = :semi,
formatter = :plain,
legend = :topleft,
grid = true
))
savefig("Grouped_bar.png")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment