Make the pygal package available by using the import instruction.

Make sure to type import pygal.

<html>
<head>
  <title></title>
</head>
<body>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="chart-6752a310-8aa3-4731-89c6-ae584cd25c1e" class="pygal-chart" viewBox="0 0 800 600"><!--Generated with pygal 2.4.0 (lxml) ©Kozea 2012-2016 on 2020-05-27--><!--http://pygal.org--><!--http://github.com/Kozea/pygal--><defs><style type="text/css">#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e{-webkit-user-select:none;-webkit-font-smoothing:antialiased;font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .title{font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:16px}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .legends .legend text{font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:14px}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .axis text{font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:10px}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .axis text.major{font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:10px}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .text-overlay text.value{font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:16px}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .text-overlay text.label{font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:10px}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .tooltip{font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:14px}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e text.no_data{font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:64px}
#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e{background-color:rgba(249,249,249,1)}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e path,#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e line,#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e rect,#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e circle{-webkit-transition:150ms;-moz-transition:150ms;transition:150ms}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .graph &gt; .background{fill:rgba(249,249,249,1)}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .plot &gt; .background{fill:rgba(255,255,255,1)}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .graph{fill:rgba(0,0,0,.87)}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e text.no_data{fill:rgba(0,0,0,1)}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .title{fill:rgba(0,0,0,1)}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .legends .legend text{fill:rgba(0,0,0,.87)}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .legends .legend:hover text{fill:rgba(0,0,0,1)}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .axis .line{stroke:rgba(0,0,0,1)}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .axis .guide.line{stroke:rgba(0,0,0,.54)}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .axis .major.line{stroke:rgba(0,0,0,.87)}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .axis text.major{fill:rgba(0,0,0,1)}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .axis.y .guides:hover .guide.line,#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .line-graph .axis.x .guides:hover .guide.line,#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .stackedline-graph .axis.x .guides:hover .guide.line,#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .xy-graph .axis.x .guides:hover .guide.line{stroke:rgba(0,0,0,1)}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .axis .guides:hover text{fill:rgba(0,0,0,1)}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .reactive{fill-opacity:.7;stroke-opacity:.8}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .ci{stroke:rgba(0,0,0,.87)}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .reactive.active,#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .active .reactive{fill-opacity:.8;stroke-opacity:.9;stroke-width:4}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .ci .reactive.active{stroke-width:1.5}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .series text{fill:rgba(0,0,0,1)}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .tooltip rect{fill:rgba(255,255,255,1);stroke:rgba(0,0,0,1);-webkit-transition:opacity 150ms;-moz-transition:opacity 150ms;transition:opacity 150ms}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .tooltip .label{fill:rgba(0,0,0,.87)}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .tooltip .label{fill:rgba(0,0,0,.87)}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .tooltip .legend{font-size:.8em;fill:rgba(0,0,0,.54)}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .tooltip .x_label{font-size:.6em;fill:rgba(0,0,0,1)}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .tooltip .xlink{font-size:.5em;text-decoration:underline}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .tooltip .value{font-size:1.5em}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .bound{font-size:.5em}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .max-value{font-size:.75em;fill:rgba(0,0,0,.54)}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .map-element{fill:rgba(255,255,255,1);stroke:rgba(0,0,0,.54) !important}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .map-element .reactive{fill-opacity:inherit;stroke-opacity:inherit}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .color-0,#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .color-0 a:visited{stroke:#F44336;fill:#F44336}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .color-1,#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .color-1 a:visited{stroke:#3F51B5;fill:#3F51B5}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .color-2,#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .color-2 a:visited{stroke:#009688;fill:#009688}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .text-overlay .color-0 text{fill:black}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .text-overlay .color-1 text{fill:black}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .text-overlay .color-2 text{fill:black}
#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e text.no_data{text-anchor:middle}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .guide.line{fill:none}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .centered{text-anchor:middle}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .title{text-anchor:middle}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .legends .legend text{fill-opacity:1}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .axis.x text{text-anchor:middle}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .axis.x:not(.web) text[transform]{text-anchor:start}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .axis.x:not(.web) text[transform].backwards{text-anchor:end}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .axis.y text{text-anchor:end}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .axis.y text[transform].backwards{text-anchor:start}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .axis.y2 text{text-anchor:start}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .axis.y2 text[transform].backwards{text-anchor:end}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .axis .guide.line{stroke-dasharray:4,4}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .axis .major.guide.line{stroke-dasharray:6,6}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .horizontal .axis.y .guide.line,#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .horizontal .axis.y2 .guide.line,#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .vertical .axis.x .guide.line{opacity:0}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .horizontal .axis.always_show .guide.line,#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .vertical .axis.always_show .guide.line{opacity:1 !important}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .axis.y .guides:hover .guide.line,#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .axis.y2 .guides:hover .guide.line,#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .axis.x .guides:hover .guide.line{opacity:1}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .axis .guides:hover text{opacity:1}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .nofill{fill:none}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .subtle-fill{fill-opacity:.2}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .dot{stroke-width:1px;fill-opacity:1}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .dot.active{stroke-width:5px}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .dot.negative{fill:transparent}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e text,#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e tspan{stroke:none !important}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .series text.active{opacity:1}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .tooltip rect{fill-opacity:.95;stroke-width:.5}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .tooltip text{fill-opacity:1}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .showable{visibility:hidden}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .showable.shown{visibility:visible}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .gauge-background{fill:rgba(229,229,229,1);stroke:none}#chart-6752a310-8aa3-4731-89c6-ae584cd25c1e .bg-lines{stroke:rgba(249,249,249,1);stroke-width:2px}</style><script type="text/javascript">window.pygal = window.pygal || {};window.pygal.config = window.pygal.config || {};window.pygal.config['6752a310-8aa3-4731-89c6-ae584cd25c1e'] = {"allow_interruptions": false, "box_mode": "extremes", "classes": ["pygal-chart"], "css": ["file://style.css", "file://graph.css"], "defs": [], "disable_xml_declaration": false, "dots_size": 2.5, "dynamic_print_values": false, "explicit_size": false, "fill": false, "force_uri_protocol": "https", "formatter": null, "half_pie": false, "height": 600, "include_x_axis": false, "inner_radius": 0, "interpolate": null, "interpolation_parameters": {}, "interpolation_precision": 250, "inverse_y_axis": false, "js": ["//kozea.github.io/pygal.js/2.0.x/pygal-tooltips.min.js"], "legend_at_bottom": false, "legend_at_bottom_columns": null, "legend_box_size": 12, "logarithmic": false, "margin": 20, "margin_bottom": null, "margin_left": null, "margin_right": null, "margin_top": null, "max_scale": 16, "min_scale": 4, "missing_value_fill_truncation": "x", "no_data_text": "No data", "no_prefix": false, "order_min": null, "pretty_print": false, "print_labels": false, "print_values": false, "print_values_position": "center", "print_zeroes": true, "range": null, "rounded_bars": null, "secondary_range": null, "show_dots": true, "show_legend": true, "show_minor_x_labels": true, "show_minor_y_labels": true, "show_only_major_dots": false, "show_x_guides": false, "show_x_labels": true, "show_y_guides": true, "show_y_labels": true, "spacing": 10, "stack_from_top": false, "strict": false, "stroke": true, "stroke_style": null, "style": {"background": "rgba(249, 249, 249, 1)", "ci_colors": [], "colors": ["#F44336", "#3F51B5", "#009688", "#FFC107", "#FF5722", "#9C27B0", "#03A9F4", "#8BC34A", "#FF9800", "#E91E63", "#2196F3", "#4CAF50", "#FFEB3B", "#673AB7", "#00BCD4", "#CDDC39", "#9E9E9E", "#607D8B"], "font_family": "Consolas, \"Liberation Mono\", Menlo, Courier, monospace", "foreground": "rgba(0, 0, 0, .87)", "foreground_strong": "rgba(0, 0, 0, 1)", "foreground_subtle": "rgba(0, 0, 0, .54)", "guide_stroke_dasharray": "4,4", "label_font_family": "Consolas, \"Liberation Mono\", Menlo, Courier, monospace", "label_font_size": 10, "legend_font_family": "Consolas, \"Liberation Mono\", Menlo, Courier, monospace", "legend_font_size": 14, "major_guide_stroke_dasharray": "6,6", "major_label_font_family": "Consolas, \"Liberation Mono\", Menlo, Courier, monospace", "major_label_font_size": 10, "no_data_font_family": "Consolas, \"Liberation Mono\", Menlo, Courier, monospace", "no_data_font_size": 64, "opacity": ".7", "opacity_hover": ".8", "plot_background": "rgba(255, 255, 255, 1)", "stroke_opacity": ".8", "stroke_opacity_hover": ".9", "title_font_family": "Consolas, \"Liberation Mono\", Menlo, Courier, monospace", "title_font_size": 16, "tooltip_font_family": "Consolas, \"Liberation Mono\", Menlo, Courier, monospace", "tooltip_font_size": 14, "transition": "150ms", "value_background": "rgba(229, 229, 229, 1)", "value_colors": [], "value_font_family": "Consolas, \"Liberation Mono\", Menlo, Courier, monospace", "value_font_size": 16, "value_label_font_family": "Consolas, \"Liberation Mono\", Menlo, Courier, monospace", "value_label_font_size": 10}, "title": "Service Rating", "tooltip_border_radius": 0, "tooltip_fancy_mode": true, "truncate_label": null, "truncate_legend": null, "width": 800, "x_label_rotation": 0, "x_labels": null, "x_labels_major": null, "x_labels_major_count": null, "x_labels_major_every": null, "x_title": null, "xrange": null, "y_label_rotation": 0, "y_labels": null, "y_labels_major": null, "y_labels_major_count": null, "y_labels_major_every": null, "y_title": null, "zero": 0, "legends": ["Good", "Bad", "Great"]}</script><script type="text/javascript" xlink:href="https://kozea.github.io/pygal.js/2.0.x/pygal-tooltips.min.js"></script></defs><title>Service Rating</title><g class="graph pie-graph vertical"><rect x="0" y="0" width="800" height="600" class="background"></rect><g transform="translate(84, 46)" class="plot"><rect x="0" y="0" width="696.0" height="534" class="background"></rect><g class="series serie-0 color-0"><g class="slices"><g class="slice"><path d="M348.000000 26.700000 A240.300000 240.300000 0 1 1 273.743216 495.538881 L348.000000 267.000000 A0.000000 0.000000 0 1 0 348.000000 267.000000 z" class="slice reactive tooltip-trigger"></path><desc class="value">55</desc><desc class="x centered">466.6707541225058</desc><desc class="y centered">285.79560097458375</desc></g></g></g><g class="series serie-1 color-1"><g class="slices"><g class="slice"><path d="M273.743216 495.538881 A240.300000 240.300000 0 0 1 107.700000 267.000000 L348.000000 267.000000 A0.000000 0.000000 0 0 0 348.000000 267.000000 z" class="slice reactive tooltip-trigger"></path><desc class="value">20</desc><desc class="x centered">250.79660812585007</desc><desc class="y centered">337.62239806294065</desc></g></g></g><g class="series serie-2 color-2"><g class="slices"><g class="slice"><path d="M107.700000 267.000000 A240.300000 240.300000 0 0 1 348.000000 26.700000 L348.000000 267.000000 A0.000000 0.000000 0 0 0 348.000000 267.000000 z" class="slice reactive tooltip-trigger"></path><desc class="value">25</desc><desc class="x centered">263.04112024043627</desc><desc class="y centered">182.04112024043633</desc></g></g></g></g><g class="titles"><text x="400.0" y="26" class="title plot_title">Service Rating</text></g><g transform="translate(84, 46)" class="plot overlay"><g class="series serie-0 color-0"></g><g class="series serie-1 color-1"></g><g class="series serie-2 color-2"></g></g><g transform="translate(84, 46)" class="plot text-overlay"><g class="series serie-0 color-0"></g><g class="series serie-1 color-1"></g><g class="series serie-2 color-2"></g></g><g transform="translate(84, 46)" class="plot tooltip-overlay"><g transform="translate(447.5078125 260.1484375)" style="opacity: 0; display: none;" class="tooltip"><rect rx="0" ry="0" width="36.984375" height="49.703125" class="tooltip-box"></rect><g class="text"><text x="5" dy="0" class="legend" y="5" style="dominant-baseline: text-before-edge;">Good</text><text x="5" dy="15.234375" class="value color-0" y="5" style="dominant-baseline: text-before-edge;">55</text></g></g></g><g transform="translate(10, 56)" class="legends"><g id="activate-serie-0" class="legend reactive activate-serie"><rect x="0.0" y="1.0" width="12" height="12" class="color-0 reactive"></rect><text x="17.0" y="11.2">Good</text></g><g id="activate-serie-1" class="legend reactive activate-serie"><rect x="0.0" y="22.0" width="12" height="12" class="color-1 reactive"></rect><text x="17.0" y="32.2">Bad</text></g><g id="activate-serie-2" class="legend reactive activate-serie"><rect x="0.0" y="43.0" width="12" height="12" class="color-2 reactive"></rect><text x="17.0" y="53.2">Great</text></g></g><g transform="translate(790, 56)" class="legends"></g></g></svg>
</body>
</html>]]>