text
stringlengths
0
5.92k
# Depict in a bar chart the Temperature against Time and Humidity against Time titled Climate Overview: <|{data}|chart|type=bar|x=TIME|y[1]=TEMPERATURE|y[2]=HUMIDITY|title=Climate Overview|>
# Depict in a scatter plot Temperature against Time: <|{data}|chart|type=scatter|mode=markers|x=TIME|y=TEMPERATURE|>
# Illustrate Temperature and Humidity against Time in a scatter plot: <|{data}|chart|type=scatter|mode=markers|x=TIME|y[1]=TEMPERATURE|y[2]=HUMIDITY|>
# Plot Humidity in Green points and Temperature in Yellow points against Time: <|{data}|chart|type=scatter|mode=markers|x=TIME|y[1]=HUMIDITY|y[2]=TEMPERATURE|color[1]=Green|color[2]=Yellow|>
# Display a histogram of Temperature: <|{data}|chart|type=histogram|x=TEMPERATURE|>
# Showcase a horizontal histogram of Temperature: <|{data}|chart|type=histogram|x=TEMPERATURE|>
# Illustrate the distribution of Temperature and Humidity: <|{data}|chart|type=histogram|x[1]=TEMPERATURE|x[2]=HUMIDITY|>
# Illustrate the distribution of Temperature and Humidity titled "Temperature and Humidity Distribution": <|{data}|chart|type=histogram|x[1]=TEMPERATURE|x[2]=HUMIDITY|title=Temperature and Humidity Distribution|>
# Present a horizontal distribution of Temperature and Humidity titled "Temperature and Humidity Distribution": <|{data}|chart|type=histogram|y[1]=TEMPERATURE|y[2]=HUMIDITY|title=Temperature and Humidity Distribution|>
# Depict a pie chart of Temperature against Time: <|{data}|chart|type=pie|values=TEMPERATURE|labels=Time|>
# Illustrate a pie chart of Temperature against Time titled "Temperature Pie Chart": <|{data}|chart|type=pie|values=TEMPERATURE|labels=Time|title=Temperature Pie Chart|>
# Depict a pie chart of Humidity against Time: <|{data}|chart|type=pie|values=HUMIDITY|labels=Time|>
# Plot Sales against Region in a line chart: <|{data}|chart|type=lines|x=REGION|y=SALES|>
# Showcase Sales against Region in a line chart titled "Sales by Region": <|{data}|chart|type=lines|x=REGION|y=SALES|title=Sales by Region|>
# Depict Sales and Profit against Region: <|{data}|chart|type=lines|x=REGION|y[1]=SALES|y[2]=PROFIT|>
# Illustrate Sales against Region with a Dashed line: <|{data}|chart|type=lines|x=REGION|y=SALES|line=dash|>
# Present Profit by Region on a Dotted line: <|{data}|chart|type=lines|x=REGION|y=PROFIT|line=dot|>
# Plot Sales against Region in Blue: <|{data}|chart|type=lines|x=REGION|y=SALES|color=Blue|>
# Exhibit Profit against Region in Green: <|{data}|chart|type=lines|x=REGION|y=PROFIT|color=Green|>
# Show Profit against Region in Green titled Profit Overview: <|{data}|chart|type=lines|x=REGION|y=PROFIT|color=Green|title=Profit Overview|>
# Display Sales in Red and Profit in Yellow against Region: <|{data}|chart|type=lines|x=REGION|y[1]=SALES|y[2]=PROFIT|color[1]=Red|color[2]=Yellow|>
# Visualize Profit by Region in a Red dashed line and Sales in a Yellow Dotted line: <|{data}|chart|type=lines|x=REGION|y[1]=PROFIT|y[2]=SALES|line[1]=dash|line[2]=dot|color[1]=Red|color[2]=Yellow|>
# Highlight Region according to Sales: <|{data}|chart|type=lines|x=REGION|y=SALES|>
# Depict in a bar chart the Sales against Region: <|{data}|chart|type=bar|x=REGION|y=SALES|>
# Depict in a bar chart the Sales against Region and Profit against Region: <|{data}|chart|type=bar|x=REGION|y[1]=SALES|y[2]=PROFIT|>
# Showcase Sales and Profit against Region in a bar chart: <|{data}|chart|type=bar|x=REGION|y[1]=SALES|y[2]=PROFIT|>
# Depict in a bar chart the Sales against Region and Profit against Region titled Financial Overview: <|{data}|chart|type=bar|x=REGION|y[1]=SALES|y[2]=PROFIT|title=Financial Overview|>
# Depict in a scatter plot Sales against Region: <|{data}|chart|type=scatter|mode=markers|x=REGION|y=SALES|>
# Illustrate Sales and Profit against Region in a scatter plot: <|{data}|chart|type=scatter|mode=markers|x=REGION|y[1]=SALES|y[2]=PROFIT|>
# Plot Profit in Green points and Sales in Yellow points against Region: <|{data}|chart|type=scatter|mode=markers|x=REGION|y[1]=PROFIT|y[2]=SALES|color[1]=Green|color[2]=Yellow|>
# Display a histogram of Sales against Region: <|{data}|chart|type=histogram|x=SALES|>
# Showcase a horizontal histogram of Sales against Region: <|{data}|chart|type=histogram|x=SALES|>
# Illustrate the distribution of Sales and Profit against Region: <|{data}|chart|type=histogram|x[1]=SALES|x[2]=PROFIT|>
# Illustrate the distribution of Sales and Profit against Region titled "Sales and Profit Distribution": <|{data}|chart|type=histogram|x[1]=SALES|x[2]=PROFIT|title=Sales and Profit Distribution|>
# Present a horizontal distribution of Sales and Profit against Region titled "Sales and Profit Distribution": <|{data}|chart|type=histogram|y[1]=SALES|y[2]=PROFIT|title=Sales and Profit Distribution|>
# Depict a pie chart of Sales against Region: <|{data}|chart|type=pie|values=SALES|labels=Region|>
# Illustrate a pie chart of Sales against Region titled "Sales Pie Chart": <|{data}|chart|type=pie|values=SALES|labels=Region|title=Sales Pie Chart|>
# Depict a pie chart of Profit against Region: <|{data}|chart|type=pie|values=PROFIT|labels=Region|>
# Visualize Productivity against Employee in a line chart: <|{data}|chart|type=lines|x=EMPLOYEE|y=PRODUCTIVITY|>
# Showcase Productivity against Employee in a line chart titled "Employee Productivity Trend": <|{data}|chart|type=lines|x=EMPLOYEE|y=PRODUCTIVITY|title=Employee Productivity Trend|>
# Depict Productivity and Satisfaction against Employee: <|{data}|chart|type=lines|x=EMPLOYEE|y[1]=PRODUCTIVITY|y[2]=SATISFACTION|>
# Illustrate Productivity against Employee with a Dashed line: <|{data}|chart|type=lines|x=EMPLOYEE|y=PRODUCTIVITY|line=dash|>
# Present Satisfaction by Employee on a Dotted line: <|{data}|chart|type=lines|x=EMPLOYEE|y=SATISFACTION|line=dot|>
# Plot Productivity against Employee in Blue: <|{data}|chart|type=lines|x=EMPLOYEE|y=PRODUCTIVITY|color=Blue|>
# Exhibit Satisfaction against Employee in Green: <|{data}|chart|type=lines|x=EMPLOYEE|y=SATISFACTION|color=Green|>
# Show Satisfaction against Employee in Green titled Satisfaction Overview: <|{data}|chart|type=lines|x=EMPLOYEE|y=SATISFACTION|color=Green|title=Satisfaction Overview|>
# Display Productivity in Red and Satisfaction in Yellow against Employee: <|{data}|chart|type=lines|x=EMPLOYEE|y[1]=PRODUCTIVITY|y[2]=SATISFACTION|color[1]=Red|color[2]=Yellow|>
# Visualize Satisfaction by Employee in a Red dashed line and Productivity in a Yellow Dotted line: <|{data}|chart|type=lines|x=EMPLOYEE|y[1]=SATISFACTION|y[2]=PRODUCTIVITY|line[1]=dash|line[2]=dot|color[1]=Red|color[2]=Yellow|>
# Highlight Employee according to Productivity: <|{data}|chart|type=lines|x=EMPLOYEE|y=PRODUCTIVITY|>
# Depict in a bar chart the Productivity against Employee: <|{data}|chart|type=bar|x=EMPLOYEE|y=PRODUCTIVITY|>
# Depict in a bar chart the Productivity against Employee and Satisfaction against Employee: <|{data}|chart|type=bar|x=EMPLOYEE|y[1]=PRODUCTIVITY|y[2]=SATISFACTION|>
# Showcase Productivity and Satisfaction against Employee in a bar chart: <|{data}|chart|type=bar|x=EMPLOYEE|y[1]=PRODUCTIVITY|y[2]=SATISFACTION|>
# Depict in a bar chart the Productivity against Employee and Satisfaction against Employee titled Work Overview: <|{data}|chart|type=bar|x=EMPLOYEE|y[1]=PRODUCTIVITY|y[2]=SATISFACTION|title=Work Overview|>
# Depict in a scatter plot Productivity against Employee: <|{data}|chart|type=scatter|mode=markers|x=EMPLOYEE|y=PRODUCTIVITY|>
# Illustrate Productivity and Satisfaction against Employee in a scatter plot: <|{data}|chart|type=scatter|mode=markers|x=EMPLOYEE|y[1]=PRODUCTIVITY|y[2]=SATISFACTION|>
# Plot Satisfaction in Green points and Productivity in Yellow points against Employee: <|{data}|chart|type=scatter|mode=markers|x=EMPLOYEE|y[1]=SATISFACTION|y[2]=PRODUCTIVITY|color[1]=Green|color[2]=Yellow|>
# Display a histogram of Productivity against Employee: <|{data}|chart|type=histogram|x=PRODUCTIVITY|>
# Showcase a horizontal histogram of Productivity against Employee: <|{data}|chart|type=histogram|x=PRODUCTIVITY|>
# Illustrate the distribution of Productivity and Satisfaction against Employee: <|{data}|chart|type=histogram|x[1]=PRODUCTIVITY|x[2]=SATISFACTION|>
# Illustrate the distribution of Productivity and Satisfaction against Employee titled "Productivity and Satisfaction Distribution": <|{data}|chart|type=histogram|x[1]=PRODUCTIVITY|x[2]=SATISFACTION|title=Productivity and Satisfaction Distribution|>
# Present a horizontal distribution of Productivity and Satisfaction against Employee titled "Productivity and Satisfaction Distribution": <|{data}|chart|type=histogram|y[1]=PRODUCTIVITY|y[2]=SATISFACTION|title=Productivity and Satisfaction Distribution|>
# Depict a pie chart of Productivity against Employee: <|{data}|chart|type=pie|values=PRODUCTIVITY|labels=Employee|>
# Illustrate a pie chart of Productivity against Employee titled "Productivity Pie Chart": <|{data}|chart|type=pie|values=PRODUCTIVITY|labels=Employee|title=Productivity Pie Chart|>
# Depict a pie chart of Satisfaction against Employee: <|{data}|chart|type=pie|values=SATISFACTION|labels=Employee|>
# Plot Population against Country in a line chart: <|{data}|chart|type=lines|x=COUNTRY|y=POPULATION|>
# Showcase Population against Country in a line chart titled "Population Trends": <|{data}|chart|type=lines|x=COUNTRY|y=POPULATION|title=Population Trends|>
# Depict Population and GDP against Country: <|{data}|chart|type=lines|x=COUNTRY|y[1]=POPULATION|y[2]=GDP|>
# Illustrate Population against Country with a Dashed line: <|{data}|chart|type=lines|x=COUNTRY|y=POPULATION|line=dash|>
# Present GDP by Country on a Dotted line: <|{data}|chart|type=lines|x=COUNTRY|y=GDP|line=dot|>
# Plot Population against Country in Blue: <|{data}|chart|type=lines|x=COUNTRY|y=POPULATION|color=Blue|>
# Exhibit GDP against Country in Green: <|{data}|chart|type=lines|x=COUNTRY|y=GDP|color=Green|>
# Show GDP against Country in Green titled GDP Overview: <|{data}|chart|type=lines|x=COUNTRY|y=GDP|color=Green|title=GDP Overview|>
# Display Population in Red and GDP in Yellow against Country: <|{data}|chart|type=lines|x=COUNTRY|y[1]=POPULATION|y[2]=GDP|color[1]=Red|color[2]=Yellow|>
# Visualize GDP by Country in a Red dashed line and Population in a Yellow Dotted line: <|{data}|chart|type=lines|x=COUNTRY|y[1]=GDP|y[2]=POPULATION|line[1]=dash|line[2]=dot|color[1]=Red|color[2]=Yellow|>
# Highlight Country according to Population: <|{data}|chart|type=lines|x=COUNTRY|y=POPULATION|>
# Depict in a bar chart the Population against Country: <|{data}|chart|type=bar|x=COUNTRY|y=POPULATION|>
# Depict in a bar chart the Population against Country and GDP against Country: <|{data}|chart|type=bar|x=COUNTRY|y[1]=POPULATION|y[2]=GDP|>
# Showcase Population and GDP against Country in a bar chart: <|{data}|chart|type=bar|x=COUNTRY|y[1]=POPULATION|y[2]=GDP|>
# Depict in a bar chart the Population against Country and GDP against Country titled Economic Overview: <|{data}|chart|type=bar|x=COUNTRY|y[1]=POPULATION|y[2]=GDP|title=Economic Overview|>
# Depict in a scatter plot Population against Country: <|{data}|chart|type=scatter|mode=markers|x=COUNTRY|y=POPULATION|>
# Illustrate Population and GDP against Country in a scatter plot: <|{data}|chart|type=scatter|mode=markers|x=COUNTRY|y[1]=POPULATION|y[2]=GDP|>
# Plot GDP in Green points and Population in Yellow points against Country: <|{data}|chart|type=scatter|mode=markers|x=COUNTRY|y[1]=GDP|y[2]=POPULATION|color[1]=Green|color[2]=Yellow|>
# Display a histogram of Population against Country: <|{data}|chart|type=histogram|x=POPULATION|>
# Showcase a horizontal histogram of Population against Country: <|{data}|chart|type=histogram|x=POPULATION|>
# Illustrate the distribution of Population and GDP against Country: <|{data}|chart|type=histogram|x[1]=POPULATION|x[2]=GDP|>
# Illustrate the distribution of Population and GDP against Country titled "Population and GDP Distribution": <|{data}|chart|type=histogram|x[1]=POPULATION|x[2]=GDP|title=Population and GDP Distribution|>
# Present a horizontal distribution of Population and GDP against Country titled "Population and GDP Distribution": <|{data}|chart|type=histogram|y[1]=POPULATION|y[2]=GDP|title=Population and GDP Distribution|>
# Depict a pie chart of Population against Country: <|{data}|chart|type=pie|values=POPULATION|labels=Country|>
# Illustrate a pie chart of Population against Country titled "Population Pie Chart": <|{data}|chart|type=pie|values=POPULATION|labels=Country|title=Population Pie Chart|>
# Depict a pie chart of GDP against Country: <|{data}|chart|type=pie|values=GDP|labels=Country|>
# **Worldwide**{: .color-primary} Health and Fitness Trends <br/> <|layout|columns=1 1 1 1|gap=50px| <|card| **Average Life Expectancy**{: .color-primary} <|{'{:.1f}'.format(np.average(data_world_health['Life Expectancy']))}|text|class_name=h2|> |> <|card| **Obesity Rate**{: .color-primary} <|{'{:.2f}%'.format(np.ave...
from taipy.gui import Gui import pandas as pd # Load task data task_data = pd.read_csv("task_data.csv") # Initialize variables priorities = list(task_data["Priority"].unique()) categories = list(task_data["Category"].unique()) priority = priorities category = categories # Markdown for the entire page page = """<|tog...
from taipy.gui import Gui import pandas as pd from PIL import Image import io image_data = None image_path = "" def image_upload(state): if state.image_path: with open(state.image_path, "rb") as file: state.image_data = Image.open(io.BytesIO(file.read())) image_page = """ <|{image_path}|file_...
<|{all_reservations}|table|columns={reservation_columns}|width='100%'|on_action={on_reservation_select}|style=reservation_style|> <|Create Reservation|button|on_action={open_create_reservation_dialog}|> <|Refresh Reservations|button|on_action={refresh_reservation_list}|> <|{show_create_reservation_dialog}|dialog|title...
<|layout|columns=1 1| <|part|class_name=card| ### Select Product Category<br/> <|{product_category_selected}|selector|lov=category_electronics;category_clothing;category_food|dropdown|on_change=on_product_category_change|> |> <|part|class_name=card| ### Select Store Location<br/> <|{store_location_selected}|selector|l...
from taipy import Gui import numpy as np from PIL import Image import matplotlib.pyplot as plt WINDOW_SIZE = 500 cm = plt.cm.get_cmap("viridis") def generate_mandelbrot( center: int = WINDOW_SIZE / 2, dx_range: int = 1000, dx_start: float = -0.12, dy_range: float = 1000, dy_start: float = -0.82...
<|layout|columns=1 1| <|part|class_name=card| ### Select Stock<br/> <|{stock_selected}|selector|lov=stock_apple;stock_google;stock_amazon|dropdown|on_change=on_stock_change|> |> <|part|class_name=card| ### Select Comparison Market Index<br/> <|{market_index_selected}|selector|lov=index_nasdaq;index_s&p500;index_dowjon...
from taipy.gui import Gui import pandas as pd # Load sales data sales_data = pd.read_csv("sales_data.csv") # Initialize variables regions = list(sales_data["Region"].unique()) products = list(sales_data["Product"].unique()) region = regions product = products # Markdown for the entire page page = """<|toggle|theme|>...
<|{all_events}|table|columns={event_columns}|width='100%'|on_action={on_event_click}|style=event_style|> <|Create Event|button|on_action={open_create_event_dialog}|> <|Refresh Events|button|on_action={refresh_event_list}|> <|{show_create_event_dialog}|dialog|title=Create New Event| <|{event_title}|input|placeholder='E...
# **Country**{: .color-primary} Energy Consumption <|layout|columns=1 1 1| <|{selected_country_energy}|selector|lov={selector_country_energy}|on_change=on_change_country_energy|dropdown|label=Country|> <|{selected_energy_source}|toggle|lov={energy_source_selector}|on_change=update_energy_source_display|> |> <br/> <...