Note: The data used in this example is available here. You can read more about the available types of data in the Adding data chapter.

In [1]:
import pandas as pd
from ipyvizzu import Chart, Data, Config, Style

data_frame = pd.read_csv(
    "../../data/chart_types_eu.csv", dtype={"Year": str, "Timeseries": str}
)
data = Data()
data.add_data_frame(data_frame)

chart = Chart()
chart.animate(data)

chart.animate(
    data.filter(
        """
  record.Country == 'Austria' ||
  record.Country == 'Belgium' ||
  record.Country == 'Bulgaria' ||
  record.Country == 'Cyprus' ||
  record.Country == 'Czechia' ||
  record.Country == 'Denmark'
  """
    ),
    Config.radialBar(
        {"angle": "Value 1 (+)", "radius": "Country", "title": "Radial Bar Chart"}
    ),
    Style(
        {
            "plot": {
                "paddingLeft": "3.8em",
                "yAxis": {
                    "color": "#ffffff00",
                    "title": {"color": "#ffffff00"},
                    "label": {"paddingRight": "0.8em"},
                    "ticks": {"color": "#ffffff00"},
                },
                "xAxis": {
                    "title": {"color": "#ffffff00"},
                    "label": {"color": "#ffffff00"},
                    "interlacing": {"color": "#ffffff00"},
                },
            }
        }
    ),
)

Back to the Examples ----- Back to the Table of contents