> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Using Workbooks in Workbench

## Explorer Panel

On the left side of the screen, you will see a tabbed panel, which we call the
*Explorer*. The *Explorer* has three main views: *Data*, *Workbooks*, & *Files*.

The [Data Explorer UI](/content/admin/workbench/ui/explorer/data) displays all of the data
you have in *Kinetica*, like tables, views, graphs, and data sources. The data
objects are sorted by type, allowing you to minimize or expand each section, and
filter through the object names using a text input.

The [Workbook Explorer UI](/content/admin/workbench/ui/explorer/workbooks) provides a means
to organize a SQL-based set of commands or workflows for development or
presentation purposes.

The [File Explorer UI](/content/admin/workbench/ui/explorer/files) allows browsing of the
[Kinetica FileSystem (KiFS)](/content/tools/kifs), where data files
uploaded to *Kinetica* reside.

### Data Explorer

When a data object is created using the UI-based wizard, it will appear in the
*Data Explorer* automatically. When creating an object using a *SQL Block*, the
*Data Explorer* will refresh automatically after the statement has been
executed. Any queries executed in a worksheet that do not return rows will
trigger a refresh of the *Data Explorer* to ensure you have the latest
information about the system. The *Data Explorer* will show newly
created objects, but if you do not see one listed, use the
**Refresh** button at the top right of the *Data Explorer* to
retrieve the latest information manually.

<Frame caption="Data Explorer Tab">
  <img src="https://mintcdn.com/kinetica/sjJMVofFVyzBN4Br/content/admin/workbench/images/wb.explorer_data.png?fit=max&auto=format&n=sjJMVofFVyzBN4Br&q=85&s=fd8f3a96890a36e0a2e0b7978f9b48af" alt="../images/wb.explorer_data.png" width="347" height="672" data-path="content/admin/workbench/images/wb.explorer_data.png" />
</Frame>

#### Creating and Modifying Data Objects

Create new data objects, like tables, data sources, or graphs, by clicking the
plus **+** button at the top of the *Data Explorer*, or next to
any of the data object type headings. You will be walked through options in a
wizard. To modify an existing object, click the object and select
**Configure**.

<Frame caption="Data Explorer Table Actions">
  <img src="https://mintcdn.com/kinetica/sjJMVofFVyzBN4Br/content/admin/workbench/images/wb.explorer_data_popup.png?fit=max&auto=format&n=sjJMVofFVyzBN4Br&q=85&s=409d472d3d636a9bab0b1a1ec604d22f" alt="../images/wb.explorer_data_popup.png" width="346" height="706" data-path="content/admin/workbench/images/wb.explorer_data_popup.png" />
</Frame>

<Frame caption="Create Table Wizard">
  <img src="https://mintcdn.com/kinetica/1z8mB2CQRb2B9bKF/content/admin/workbench/images/wb.create_table.png?fit=max&auto=format&n=1z8mB2CQRb2B9bKF&q=85&s=893605f5b049b1893b47eaf5eb4b93f3" alt="../images/wb.create_table.png" width="1011" height="664" data-path="content/admin/workbench/images/wb.create_table.png" />
</Frame>

#### Previewing Objects

You can preview an object’s data by clicking and selecting
**Data Preview**. For tabular data, you will be shown a table
view of the data.

<Frame caption="Data Grid Preview">
  <img src="https://mintcdn.com/kinetica/1z8mB2CQRb2B9bKF/content/admin/workbench/images/wb.data_preview_grid.png?fit=max&auto=format&n=1z8mB2CQRb2B9bKF&q=85&s=684e60ffa1374b6ef99d105e46259fcf" alt="../images/wb.data_preview_grid.png" width="1166" height="604" data-path="content/admin/workbench/images/wb.data_preview_grid.png" />
</Frame>

You can also preview geospatial tabular data on a map by selecting
**WMS Preview**. Abstract graphs, like social graphs cannot be
previewed in the *Workbench*. Previewing a geospatial graph will display a map
of the graph.

<Frame caption="WMS Data Preview">
  <img src="https://mintcdn.com/kinetica/1z8mB2CQRb2B9bKF/content/admin/workbench/images/wb.data_preview_wms.png?fit=max&auto=format&n=1z8mB2CQRb2B9bKF&q=85&s=f097d00fecb1a9e9b75ede49eb66783c" alt="../images/wb.data_preview_wms.png" width="898" height="654" data-path="content/admin/workbench/images/wb.data_preview_wms.png" />
</Frame>

#### Deleting Objects

To delete an object, click the object and select **Delete**.

<a id="wb-workbook-explorer" />

### Workbook Explorer

The *Workbook Explorer* contains two lists of *workbooks*:

* **My Workbooks** - a list of *workbooks* you've created,
  and the *Quick Start Guide*, which comes with each *Kinetica* deployment
* **Examples** - workbooks that are provided with *Workbench* for
  exploring the various features of *Kinetica*
* **Shared With Me** - a list of *workbooks* others have created
  and made available to you

<Frame caption="Workbook Explorer Tab">
  <img src="https://mintcdn.com/kinetica/sjJMVofFVyzBN4Br/content/admin/workbench/images/wb.explorer_workbooks.png?fit=max&auto=format&n=sjJMVofFVyzBN4Br&q=85&s=c9a752fc01e97845332e63f9f3d35da1" alt="../images/wb.explorer_workbooks.png" width="350" height="428" data-path="content/admin/workbench/images/wb.explorer_workbooks.png" />
</Frame>

#### Creating a New Workbook

To create a new *workbook*, select the **Workbook** tab in the
*Explorer*, then click the plus **+** button.  Alternatively,
you can create a new *workbook* using the large button on the
**Explore** landing page.

After giving it a name, the new *workbook* will be displayed in the right-hand
pane with a single empty *SQL Block* to start.

<Frame caption="New Workbook">
  <img src="https://mintcdn.com/kinetica/sjJMVofFVyzBN4Br/content/admin/workbench/images/wb.workbook_new.png?fit=max&auto=format&n=sjJMVofFVyzBN4Br&q=85&s=3b760f6fc480cd3cf79a4d104ed60a77" alt="../images/wb.workbook_new.png" width="1094" height="381" data-path="content/admin/workbench/images/wb.workbook_new.png" />
</Frame>

#### Example Workbook

*Kinetica* ships with a *workbook* that showcases an end-to-end analytics
example through SQL. In this *workbook*, you will ingest data from S3, perform
several analytic queries, and finally visualize the output on a map. To open the
example *workbook*, click the **Workbooks** tab in the *Explorer*
and select **Quick Start Guide**.

#### Exporting/Importing Workbooks

You can export and import *workbooks* to share your SQL. Right-click on a
*workbook* in the *Workbook Explorer* and select the **Export**
menu option.  Choose **Workbook JSON** to initiate the download
in JSON format.

<Frame caption="Export Workbook">
  <img src="https://mintcdn.com/kinetica/sjJMVofFVyzBN4Br/content/admin/workbench/images/wb.workbook_export.png?fit=max&auto=format&n=sjJMVofFVyzBN4Br&q=85&s=c9a4c366fdf21c149ba354302ca87439" alt="../images/wb.workbook_export.png" width="350" height="425" data-path="content/admin/workbench/images/wb.workbook_export.png" />
</Frame>

To import a *workbook*, select the plus **+** button at the top
right of the *Workbook Explorer*. This will open a dialog window that allows you
to drag and drop a previously exported *workbook*.

<Frame caption="Import Workbook Menu">
  <img src="https://mintcdn.com/kinetica/sjJMVofFVyzBN4Br/content/admin/workbench/images/wb.workbook_import.png?fit=max&auto=format&n=sjJMVofFVyzBN4Br&q=85&s=0c950d72aba1c605494932167ebb7093" alt="../images/wb.workbook_import.png" width="509" height="187" data-path="content/admin/workbench/images/wb.workbook_import.png" />
</Frame>

<a id="wb-file-explorer" />

### File Explorer

The *File Explorer* can be used to manage
[directories](/content/tools/kifs_api#kifs-directory) & [files](/content/tools/kifs_api#kifs-file)
that reside in [Kinetica File System (KiFS)](/content/tools/kifs).  This feature facilitates uploading
local data files to import their data into *Kinetica*.

<Frame caption="File Explorer Tab">
  <img src="https://mintcdn.com/kinetica/sjJMVofFVyzBN4Br/content/admin/workbench/images/wb.explorer_files.png?fit=max&auto=format&n=sjJMVofFVyzBN4Br&q=85&s=ba71dcca5aebcd28b1547c19759ea0e4" alt="../images/wb.explorer_files.png" width="343" height="185" data-path="content/admin/workbench/images/wb.explorer_files.png" />
</Frame>

#### Uploading a File

To upload a data file, select the **Files** tab in the
*Explorer* to reach the *File Explorer*.  Then, proceed either one of two ways:

* Click the plus **+** button at the top of the *File Explorer*
  panel and then click **Upload New File**
* Right-click the *directory* to upload the file into, and then click
  **Upload New File**

At this point a modal will open up, prompting the selection of a data file to
upload from the local file system.  Choose a file and then click
**Open**.  Then enter (or confirm) the name of the *directory* to
upload the file to and, optionally, choose a different name for the uploaded
file in *KiFS*.  Click **Upload** to complete the file upload,
and **Close** to close the modal.

<Frame caption="Upload File Dialog">
  <img src="https://mintcdn.com/kinetica/sjJMVofFVyzBN4Br/content/admin/workbench/images/wb.explorer_files_upload.png?fit=max&auto=format&n=sjJMVofFVyzBN4Br&q=85&s=5ef6fa63e834a078c5787f301c1165b0" alt="../images/wb.explorer_files_upload.png" width="516" height="480" data-path="content/admin/workbench/images/wb.explorer_files_upload.png" />
</Frame>

#### Importing a File

To import a *file* from *KiFS*, select the **Files** tab in the
*Explorer* to reach the *File Explorer*.  Then, right-click the name of the
*file* to upload and click **Import**.

The *Kinetica Filesystem Import* wizard will be displayed with the name of the
*file* to import already populated in the **File** field.

<Frame caption="Import File">
  <img src="https://mintcdn.com/kinetica/sjJMVofFVyzBN4Br/content/admin/workbench/images/wb.explorer_files_import_setup.png?fit=max&auto=format&n=sjJMVofFVyzBN4Br&q=85&s=bc011a7787ce141926507339e1dfb9e9" alt="../images/wb.explorer_files_import_setup.png" width="1094" height="608" data-path="content/admin/workbench/images/wb.explorer_files_import_setup.png" />
</Frame>

Click **Import** at any step of the wizard to import the *file*
with the default options, along with any that have been configured in previous
steps.  See [Import Data Wizard](/content/admin/workbench/workbooks#wb-import-wiz) for the step-by-step walkthrough of the
wizard.

<a id="wb-sql" />

## SQL Workbooks and Worksheets

*Workbooks* can be accessed via the *Explore* page, using the top navigation.

This page will be used in the future to import *workbooks*
from *Kinetica’s Workbook Repository*.

<Frame caption="Explore Landing Page">
  <img src="https://mintcdn.com/kinetica/1z8mB2CQRb2B9bKF/content/admin/workbench/images/wb.explore.png?fit=max&auto=format&n=1z8mB2CQRb2B9bKF&q=85&s=4f61720e0e4397fbf2930ba14b011eef" alt="../images/wb.explore.png" width="932" height="1046" data-path="content/admin/workbench/images/wb.explore.png" />
</Frame>

### Workbooks

A *workbook* is a container for *worksheets*.

Each *worksheet* begins with the [SQL-GPT interface](/content/admin/workbench/workbooks#wb-sql-gpt),
followed by one or more *data blocks* and *presentation blocks*:

* *Data blocks* - blocks that interact with the database and display the results
  of queries and/or operations; these include:

  * [SQL Blocks](/content/admin/workbench/workbooks#wb-sql-block)
  * [Map Blocks](/content/admin/workbench/workbooks#wb-map-block)
  * [Graph Blocks](/content/admin/workbench/workbooks#wb-graph-block)

* [Presentation blocks](/content/admin/workbench/workbooks#wb-presentation-block) - blocks that
  display static content, usually used when converting a *workbook* to a
  presentation medium, where these *block* types can help explain a workflow and
  provide insight into the results of surrounding *data blocks* that do query
  the database; these include:

  * *Text Blocks*
  * *Image Blocks*
  * *HTML Blocks*

Any type of *block* can be moved up or down in the *block* ordering or removed
using the buttons in the upper right corner of the *block*. You can also add
another *block* directly below an existing one by using the plus
**+** button in the upper right menu.

<Frame caption="SQL Workbook">
  <img src="https://mintcdn.com/kinetica/sjJMVofFVyzBN4Br/content/admin/workbench/images/wb.workbook.png?fit=max&auto=format&n=sjJMVofFVyzBN4Br&q=85&s=605d6d04ca442601b7a6e3605d93c8d8" alt="../images/wb.workbook.png" width="971" height="1064" data-path="content/admin/workbench/images/wb.workbook.png" />
</Frame>

<a id="wb-sql-gpt" />

### SQL-GPT

A [SQL-GPT](/content/sql-gpt/concepts) interface is present at the top of
each *worksheet* within a *workbook* to facilitate natural language queries of
data.

To use *SQL-GPT* to answer a question about your data:

1. Enter a natural-language question into the *SQL-GPT* textbox.
2. Click **Generate SQL**.  A new *SQL Block* will be created at
   the bottom of the *worksheet*, pre-populated with the query *SQL-GPT*
   generated to answer the question posed.
3. Click <img src="https://mintcdn.com/kinetica/1z8mB2CQRb2B9bKF/content/admin/workbench/images/wb.explore_wsb_icon_run.png?fit=max&auto=format&n=1z8mB2CQRb2B9bKF&q=85&s=4cfb871444ed48ae681c429365dc02d6" alt="wsb_icon_run" style={{display: "inline", margin: 0, verticalAlign: "middle"}} width="27" height="27" data-path="content/admin/workbench/images/wb.explore_wsb_icon_run.png" /> in that new *SQL Block* to run the generated query.

*SQL-GPT* will generate more accurate queries when it is given more context for
the data it is querying.  To provide *SQL-GPT* insight into the data and
relationships between the data, see [SQL-GPT Concepts](/content/sql-gpt/concepts) for a
*SQL-GPT* overview and [SQL-GPT Syntax](/content/sql/sqlgpt) for the complete SQL syntax
supporting *SQL-GPT*.

Once a custom *SQL-GPT context* has been created, click
**Configure** to assign the *context* to the current *worksheet*,
and ask the natural-language question again.

<a id="wb-sql-block" />

### SQL Blocks

A *SQL Block* should contain a single SQL statement, which can be independently
evaluated.

Each *SQL Block* has a play button on the left side that allows you to run the
SQL contained in the block. Alternatively, you can run all the *SQL Blocks* in a
*worksheet* in sequence by clicking the **Run All** button at the
top of the screen.

If you want to create a visualization for a *SQL Block*, you will first need to
create and run a `SELECT` statement. See [Visualizations](/content/admin/workbench/workbooks#wb-vis) for directions
on how to create visualizations in your *workbook*.

<Frame caption="SQL Block with Output">
  <img src="https://mintcdn.com/kinetica/sjJMVofFVyzBN4Br/content/admin/workbench/images/wb.workbook_sql_block.png?fit=max&auto=format&n=sjJMVofFVyzBN4Br&q=85&s=b0916f846b338b96a9c14ef82fa64be3" alt="../images/wb.workbook_sql_block.png" width="1005" height="804" data-path="content/admin/workbench/images/wb.workbook_sql_block.png" />
</Frame>

#### Type-ahead

*SQL Blocks* feature a type-ahead capability that will suggest SQL syntax and
database object names. When you begin typing, keywords will appear, and you will
be able to select one of the items using the arrow keys. Pressing
**Enter** while one of these keywords is highlighted will add it
to your *SQL Block*.

For database objects, simply type a schema name and a dot (.); you should see
all the tables and views in that schema appear in a dropdown list.

#### Running Individual Blocks

To run a *SQL Block*, click the play button next to it. When the job has
finished, you will see an output notifying you of the success or failure. If you
run a `SELECT` statement, you will see the result data presented in a data
grid format, along with other visualization options. The data grid and
visualizations are directly tied to the corresponding `SELECT` statement in
the *SQL Block*.

#### Running All Blocks

You may also run the entire *workbook* from start to finish, in sequence, by
clicking the **Run All** button in the upper right of the
*worksheet*. As each *SQL Block* completes, the next will run until an error or
the end of the *workbook* is reached.

#### Canceling Jobs

If you want to stop a long-running query or a long sequence of *SQL Blocks*, you
can easily cancel the running jobs associated with each query. Use the
**Queries** button at the top of the screen. This will open a
modal with a list of all the running jobs in the system, any of which can be
stopped by checking the box next to the job and pressing the
**Cancel Selected** button.

<Frame caption="Running Jobs Listing">
  <img src="https://mintcdn.com/kinetica/sjJMVofFVyzBN4Br/content/admin/workbench/images/wb.jobs.png?fit=max&auto=format&n=sjJMVofFVyzBN4Br&q=85&s=9b5bcd3ad0470b4b7cc15ac1a0afa76c" alt="../images/wb.jobs.png" width="930" height="289" data-path="content/admin/workbench/images/wb.jobs.png" />
</Frame>

<a id="wb-sql-explain" />

#### Visual Explain Plan

The explain plan visualizer is a graphical complement to using the `EXPLAIN`
keyword in a given query, providing visual detail to the SQL query's execution
plan, execution time, and native API translation(s).

In a given *SQL Block*, use the hierarchy icon to select
**Explain Plan**.  This will not execute the query but allow the
database to walk through the native actions necessary to execute the query and
show the plan.

Use the hierarchy icon to select **Run and Analyze** to execute
the query and display the execution time for each step in the plan.

<Frame caption="Visual Explain Plan">
  <img src="https://mintcdn.com/kinetica/sjJMVofFVyzBN4Br/content/admin/workbench/images/wb.workbook_sql_explain.png?fit=max&auto=format&n=sjJMVofFVyzBN4Br&q=85&s=72370a6bf2c8ecc057f9f05cdb1ffc2f" alt="../images/wb.workbook_sql_explain.png" width="1131" height="823" data-path="content/admin/workbench/images/wb.workbook_sql_explain.png" />
</Frame>

<a id="wb-map-block" />

### Map Blocks

A *Map Block* starts out as an empty map but can be configured to display
geospatial data from a table.

Click on **Configure** to pick a source table and longitude &
latitude columns.  Then click **Update** to display the data on
the map.

<Frame caption="Map Block">
  <img src="https://mintcdn.com/kinetica/sjJMVofFVyzBN4Br/content/admin/workbench/images/wb.workbook_vis_map.png?fit=max&auto=format&n=sjJMVofFVyzBN4Br&q=85&s=16fa9a4ad150ed2fa7d51ac29bf5f364" alt="../images/wb.workbook_vis_map.png" width="762" height="617" data-path="content/admin/workbench/images/wb.workbook_vis_map.png" />
</Frame>

<a id="wb-graph-block" />

### Graph Blocks

A *Graph Block* starts out as a blank page but can be configured to display
graph data from a graph output table.

Click on **Configure** to pick a source graph table and specify
the relevant node & edge columns.  Then, click **Update** to
display the graph within the block.

<Frame caption="Graph Block">
  <img src="https://mintcdn.com/kinetica/1z8mB2CQRb2B9bKF/content/admin/workbench/images/wb.explore_wsb_graph.png?fit=max&auto=format&n=1z8mB2CQRb2B9bKF&q=85&s=f1228b9fd828668e6ddfd63a4c8defe0" alt="../images/wb.explore_wsb_graph.png" width="760" height="565" data-path="content/admin/workbench/images/wb.explore_wsb_graph.png" />
</Frame>

#### Graph Example

Given a `person` table of names & roles of people and a `connection` table
linking those people together, a social graph of those people and their
relations can be created by entering the following SQL into a *SQL Block* and
clicking <img src="https://mintcdn.com/kinetica/1z8mB2CQRb2B9bKF/content/admin/workbench/images/wb.explore_wsb_icon_run.png?fit=max&auto=format&n=1z8mB2CQRb2B9bKF&q=85&s=4cfb871444ed48ae681c429365dc02d6" alt="wsb_icon_run" style={{display: "inline", margin: 0, verticalAlign: "middle"}} width="27" height="27" data-path="content/admin/workbench/images/wb.explore_wsb_icon_run.png" />:

```sql CREATE GRAPH Example theme={null}
CREATE or REPLACE directed GRAPH kgraph
(
    NODES => INPUT_TABLE
    (
        SELECT name AS NAME, CONCAT(CONCAT(role,':'),locale) AS LABEL
        FROM person
    ),
    EDGES => INPUT_TABLE
    (
        SELECT person_a AS NODE1_NAME, person_b AS NODE2_NAME
        FROM connection
    ),
    OPTIONS => KV_PAIRS(graph_table = 'kgraph_table')
)
```

This will generate two output tables, which can be used to generate the graph:

* `kgraph_table` - the set of all edges (connections between people) in the
  data set
* `kgraph_table_nodes` - the set of all nodes (people) in the data set

<p><strong>Graph Example - Edges Only</strong></p>

To create the graph with just the names of people related to each other, define:

| Field                  | Value             | Description                                        |
| ---------------------- | ----------------- | -------------------------------------------------- |
| **Edge Table Name**    | `kgraph_table`    | Name of the edge table                             |
| **Edge Source Column** | `EDGE_NODE1_NAME` | Name of the person on one side of a relation       |
| **Edge Target Column** | `EDGE_NODE2_NAME` | Name of the person on the other side of a relation |

<p><strong>Graph Example - Edges & Nodes</strong></p>

To create the graph with the names of people related to each other and
additional information about the people, both the edge & node table will need to
be referenced in the configuration.  The data in the two tables will be linked
together using their respective `ID` columns:

* `kgraph_table.EDGE_NODE1_ID`
* `kgraph_table.EDGE_NODE2_ID`
* `kgraph_table_nodes.NODE_ID`

| Field                  | Value                | Description                                       |
| ---------------------- | -------------------- | ------------------------------------------------- |
| **Edge Table Name**    | `kgraph_table`       | name of the edge table                            |
| **Edge Source Column** | `EDGE_NODE1_ID`      | ID of the person on one side of a relation        |
| **Edge Target Column** | `EDGE_NODE2_ID`      | ID of the person on the other side of a relation  |
| **Node Table Name**    | `kgraph_table_nodes` | name of the nodes table                           |
| **Node ID Column**     | `NODE_ID`            | ID of a person                                    |
| **Node Name Column**   | `NODE_NAME`          | Name of a person                                  |
| **Node Label Column**  | `NODE_LABEL`         | Label containing extra information about a person |

<Note>
  When using both the edge & node tables, the column values for
  the **Node ID Column** must match those for the
  **Edge Source Column** & **Edge Target Column**
  in that they should all be referencing either their respective `ID` or
  respective `NAME` columns.
</Note>

<a id="wb-presentation-block" />

### Presentation Blocks

*Presentation blocks* help you annotate, elaborate on, and provide insight into
the *data blocks* on your *worksheet*.  These blocks can be moved up and down,
independently of other *blocks* and provide rich flexibility in presenting your
results.  For more information on interacting with these blocks, see:

* [Text Blocks](/content/admin/workbench/ui/explore#wb-explore-ws-tb)
* [Image Blocks](/content/admin/workbench/ui/explore#wb-explore-ws-ib)
* [HTML Blocks](/content/admin/workbench/ui/explore#wb-explore-ws-hb)

<a id="wb-vis" />

## Visualizations

Once you have run a *SQL Block* that contains a `SELECT` statement, you have
the option to visualize the result data. By default, the data will be displayed
as a grid in the **Data** tab below the *SQL Block*. If you
select the **Visualization** tab, you can visualize the data
using one of the following modes:

* [Bar Chart](/content/admin/workbench/workbooks#wb-vis-bar)
* [Line Chart](/content/admin/workbench/workbooks#wb-vis-line)
* [Pie Chart](/content/admin/workbench/workbooks#wb-vis-pie)
* [Scatter Plot](/content/admin/workbench/workbooks#wb-vis-scatter)
* [Big Number](/content/admin/workbench/workbooks#wb-vis-bignum)
* [Graph](/content/admin/workbench/workbooks#wb-vis-graph)
* [Map](/content/admin/workbench/workbooks#wb-vis-map)

<Frame caption="Visualization Selector">
  <img src="https://mintcdn.com/kinetica/sjJMVofFVyzBN4Br/content/admin/workbench/images/wb.workbook_vis.png?fit=max&auto=format&n=sjJMVofFVyzBN4Br&q=85&s=3d793fd67aa75d68c3212a47f572c514" alt="../images/wb.workbook_vis.png" width="762" height="231" data-path="content/admin/workbench/images/wb.workbook_vis.png" />
</Frame>

Choose a visualization style, click **Configure** to set up the
graph, and then click **Update** to display the graph.

<a id="wb-vis-bar" />

### Bar Chart

The *Bar Chart Visualization* allows you to view volumes of data by group.

<Frame caption="Bar Chart Visualization">
  <img src="https://mintcdn.com/kinetica/sjJMVofFVyzBN4Br/content/admin/workbench/images/wb.workbook_vis_bar.png?fit=max&auto=format&n=sjJMVofFVyzBN4Br&q=85&s=7192983a30dbed8fa43914ca7a15c367" alt="../images/wb.workbook_vis_bar.png" width="761" height="545" data-path="content/admin/workbench/images/wb.workbook_vis_bar.png" />
</Frame>

<a id="wb-vis-line" />

### Line Chart

The *Line Chart Visualization* shows you trends across a dimension.

<Frame caption="Line Chart Visualization">
  <img src="https://mintcdn.com/kinetica/sjJMVofFVyzBN4Br/content/admin/workbench/images/wb.workbook_vis_line.png?fit=max&auto=format&n=sjJMVofFVyzBN4Br&q=85&s=7950f80861bb508bd5d2dd1983d448cf" alt="../images/wb.workbook_vis_line.png" width="761" height="688" data-path="content/admin/workbench/images/wb.workbook_vis_line.png" />
</Frame>

<a id="wb-vis-pie" />

### Pie Chart

The *Pie Chart Visualization* shows you the numeric proportion of values across
several groups.

<Frame caption="Pie Chart Visualization">
  <img src="https://mintcdn.com/kinetica/sjJMVofFVyzBN4Br/content/admin/workbench/images/wb.workbook_vis_pie.png?fit=max&auto=format&n=sjJMVofFVyzBN4Br&q=85&s=4887f8b428182cb3caa9739332959d19" alt="../images/wb.workbook_vis_pie.png" width="760" height="544" data-path="content/admin/workbench/images/wb.workbook_vis_pie.png" />
</Frame>

<a id="wb-vis-scatter" />

### Scatter Plot

The *Scatter Plot Visualization* shows you two dimensions compared against each
other or two values compared to (or categorized by) a third value, plotted on a
coordinate system.

<Frame caption="Scatter Plot Visualization">
  <img src="https://mintcdn.com/kinetica/sjJMVofFVyzBN4Br/content/admin/workbench/images/wb.workbook_vis_scatter.png?fit=max&auto=format&n=sjJMVofFVyzBN4Br&q=85&s=6c12b7d540cdfa8ae9e34874c27411dd" alt="../images/wb.workbook_vis_scatter.png" width="766" height="461" data-path="content/admin/workbench/images/wb.workbook_vis_scatter.png" />
</Frame>

<a id="wb-vis-bignum" />

### Big Number

The *Big Number Visualization* simply shows the result of a query in a large
font.  Multiple records are shown as a comma-delimited list of values.

<Frame caption="Big Number Visualization">
  <img src="https://mintcdn.com/kinetica/sjJMVofFVyzBN4Br/content/admin/workbench/images/wb.workbook_vis_bignum.png?fit=max&auto=format&n=sjJMVofFVyzBN4Br&q=85&s=8402b69813cdfce247e2672205cf9759" alt="../images/wb.workbook_vis_bignum.png" width="759" height="405" data-path="content/admin/workbench/images/wb.workbook_vis_bignum.png" />
</Frame>

<a id="wb-vis-graph" />

### Graph

The *Graph Visualization* is equivalent in interface to the
[graph block](/content/admin/workbench/workbooks#wb-graph-block).

<a id="wb-vis-map" />

### Map

The *Map Visualization* is equivalent in interface to the
[map block](/content/admin/workbench/workbooks#wb-map-block).

<a id="wb-import" />

## Importing Data

Whether you’re importing directly via SQL, or using the import wizard, loading
data into *Kinetica* is easy. Several data sources are supported when ingesting
data through either mechanism. See [Data Sources](/content/concepts/data_sources) for more
information on *data sources* or [CREATE DATA SOURCE](/content/sql/ddl#sql-create-data-source) for
managing them in SQL.

<a id="wb-import-wiz" />

### Import Data Wizard

Importing data via the wizard can be done in several easy steps.

1. Click **Import** on the top menu to reach the
   *Importing Your Data* page.

2. Choose the import mechanism to use:

   * **File Upload** - Import data from a file on your local file
     system
   * **Kinetica Filesystem** - Import data from a file that has
     already been uploaded to *KiFS*
   * **Azure Blob Storage**, **Amazon S3**,
     **Kafka Stream**, **HDFS** - Import data from
     one of these external providers.
   * **Generic JDBC** - Import data from a remote database using
     a generic JDBC driver
   * **Kinetica** - Import data from another Kinetica cluster
     using the Kinetica JDBC driver
   * **JDBC Data Sources** - Import data from a remote system
     using any of the available data source drivers

3. If ingesting from a external provider like *S3*, you can either select an
   existing [data source](/content/sql/ddl#sql-create-data-source) corresponding to
   that provider or create a new one.

4. Enter the path to the file, and choose the file format.

5. Next, select the [schema](/content/sql/ddl#sql-create-schema) in which your new
   table should be created. Then give your new table a name. By default, records
   that fail to be parsed or loaded correctly will be skipped and the import
   process will proceed to the subsequent records.  To stop the import if an
   error occurs on a record, check the appropriate box.
   Optionally, define the structure of the target table if that table does not
   yet exist.  If the table doesn't exist and the structure is not defined here,
   it will be intuited by analyzing the source file headers & data.

6. Once the ingest has been configured, the corresponding SQL statement for
   loading the data will be displayed, which you can copy into a *worksheet* for
   use later. Click **Import** to begin the import immediately,
   and wait for the job to complete. You can see the status of jobs in the
   **History** tab, and you can see error messages to help you
   troubleshoot the import there as well.

For a more detailed look at the configuration options available through the
*Import Wizard*, see [Import](/content/admin/workbench/ui/import).

<Frame caption="Import Landing Page">
  <img src="https://mintcdn.com/kinetica/sjJMVofFVyzBN4Br/content/admin/workbench/images/wb.import.png?fit=max&auto=format&n=sjJMVofFVyzBN4Br&q=85&s=fe915954b6665b703e5b01e3c74b4c25" alt="../images/wb.import.png" width="1079" height="1068" data-path="content/admin/workbench/images/wb.import.png" />
</Frame>

<Frame caption="Import Data Summary, with Corresponding SQL Import Statement">
  <img src="https://mintcdn.com/kinetica/sjJMVofFVyzBN4Br/content/admin/workbench/images/wb.importing_data_summary.png?fit=max&auto=format&n=sjJMVofFVyzBN4Br&q=85&s=f2f9a9661920f5f82d8beca7cd26bc42" alt="../images/wb.importing_data_summary.png" width="1092" height="975" data-path="content/admin/workbench/images/wb.importing_data_summary.png" />
</Frame>

<a id="wb-import-sql" />

### Import via SQL

You can use the SQL generated by the *Import Data Wizard* in your SQL
*Worksheets*, or you can write your own ingest statements. When importing from a
remote location, like *S3*, you will need to create a *data source* first. See
[CREATE DATA SOURCE](/content/sql/ddl#sql-create-data-source) for the syntax used to create one.

For example, to load taxi data from *S3*:

```sql Create an S3 Data Source theme={null}
CREATE OR REPLACE DATA SOURCE quickstart
LOCATION = 'S3'
WITH OPTIONS (
    BUCKET NAME = 'quickstartpublic',
    REGION = 'us-west-1'
)
```

Once you’ve created a data source, you can load data using the
[LOAD INTO](/content/sql/load#sql-load-into) statement.

```sql Load Taxi Data from S3 theme={null}
LOAD DATA INTO taxi_data_historical
FROM FILE PATHS 'taxi_data.parquet'
FORMAT PARQUET
WITH OPTIONS (
    DATA SOURCE = 'quickstart'
)
```
