To create a chart from a table or view in SAP Webi, first open a new document and connect to a data source to retrieve data. Select the necessary parameters to build the view or table, create it, and run the query. Then right click the table, select "Turn Into", choose a chart type, and click OK to generate the chart with respect to the underlying table or view.