Plotting Using Excel Data

Hi Everyone,
I am new to H2O wave. I was trying to plot data using an excel file. I have imported example data using pandas. While running the code, no error is coming, but not able to view anything in the browser (http://localhost:10101/demo). Can anyone help me out with this? I have attached the code and example data.

from h2o_wave import site, data, ui, main
import pandas as pd

df = pd.read_excel(‘test.xlsx’,dtype=str)

page = site[’/demo’]

v = page.add(‘example’, ui.plot_card(
box=‘1 1 4 5’,
title=‘Interval’,
data=data(
fields=df.columns.tolist(),
rows=df.values.tolist()
),
plot=ui.plot([ui.mark(type=‘point’, x=’=Product D’, y=’=Seller 1’, y_min=1000)])
))
page.save()

And dummy data is,

sssssssss

Thanks,
Pranesh

We’re using Github Discussions for all Q&A / Ideas related to H2O Wave.

Please report your question on the Wave Github Discussions

This discussion forum will be removed shortly. Thank you for your co-operation and support!