Skip to content

Instantly share code, notes, and snippets.

@JohnnyBizzel
Created March 1, 2018 01:25
Show Gist options
  • Save JohnnyBizzel/f0661866edc1ea1cd3140d1b5eb47f87 to your computer and use it in GitHub Desktop.
Save JohnnyBizzel/f0661866edc1ea1cd3140d1b5eb47f87 to your computer and use it in GitHub Desktop.
Example of a bar chart
import pygal
import os
bar = pygal.Bar()
bar.title = "Test Graph"
bar.add('Lightning', 89)
bar.add('Penguins', 76)
bar.add('Rangers', 60)
bar.add('Predators', 87)
bar.render_in_browser()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment