HeatmapChart widget in Supervisely is a widget used for displaying a heatmap chart. It allows users to visualize data in a way that highlights patterns and trends. Users can hover over each cell to see the data for that cell. The HeatmapChart widget is often used in data analysis and visualization tasks, such as exploring the distribution of object instances in a dataset. HeatmapChart allows downloading data series from widget in svg, png, and csv formats.
import os
import supervisely as sly
from dotenv import load_dotenv
from supervisely.app.widgets import Card, Container, HeatmapChart
load_dotenv("local.env")
load_dotenv(os.path.expanduser("~/supervisely.env"))
api = sly.Api()
def multiplication_chart():
data = []
for row in list(range(1, 11)):
temp = [round(row * number, 1) for number in list(range(1, 11))]
data.append(temp)
return data