from main_scraper import Conector d = DataHandler(Conector(secrets.API_KEY, secrets.PROJECT_TOKEN)) df_localization = pd.read_csv( 'geo_data.csv', sep=';', encoding=DataHandler.find_encoding('geo_data.csv')) #merge with ISO Codes df = pd.merge(df_localization, d.country_data, how='left', left_on='Country', right_on='name') df = DataHandler.conversion(df) df_data = DataHandler.rename(d.country_data) #sunburst graphs fig_sun_deaths = px.sunburst(data_frame=df, path=["Continent", 'Country'], color="total_deaths", color_continuous_scale=px.colors.diverging.Picnic) fig_sun_cases = px.sunburst(data_frame=df, path=["Continent", 'Country'], values="total_cases", color_discrete_sequence=px.colors.qualitative.Safe) fig_sun_recovered = px.sunburst( data_frame=df,