add docs
140
Basic-usage.md
Normal file
@@ -0,0 +1,140 @@
|
|||||||
|
# Choose SQLite database or CSV file
|
||||||
|
|
||||||
|
You can choose a database or a CSV file right on the welcom page (fig. 1). The
|
||||||
|
supported file extentions: `.csv`, `.db`,`.sqlite` and `.sqlite3`.
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<img class="figure" src="./img/Screenshot_welcome.png" width="500"/>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<sub>
|
||||||
|
Fig. 1: Welcome page
|
||||||
|
</sub>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
If you choose a CSV file it will be parsed. Then sqliteviz creates a new
|
||||||
|
database with data from the CSV. You can change parsing settings and table name
|
||||||
|
in the dialog which is shown automatically if you choose a CSV file (fig. 2).
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<img class="figure" src="./img/Screenshot_csv.png?0.15.0" width="700"/>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<sub>
|
||||||
|
Fig. 2: CSV import dialog
|
||||||
|
</sub>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
If you don't have a database or CSV press `Create empty database` button and
|
||||||
|
then fill an empty database using DDL and DML statements. A tab with an example
|
||||||
|
of how to do it will be opened automatically (fig. 3).
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<img class="figure" src="./img/Screenshot_editor.png?0.15.0" width="700"/>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<sub>
|
||||||
|
Fig. 3: Workspace (empty database)
|
||||||
|
</sub>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
Database tables, columns and their types are shown in the left panel of the
|
||||||
|
`Workspace` (fig. 4).
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<img class="figure" src="./img/Screenshot_editor_with_db.png?0.15.0" width="750"/>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<sub>
|
||||||
|
Fig. 4: Workspace (not empty database)
|
||||||
|
</sub>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
# Create inquiry
|
||||||
|
|
||||||
|
## Open new tab
|
||||||
|
|
||||||
|
Press `Create` button in the top toolbar or use `Ctrl+b` (`Cmd+b` for MacOS)
|
||||||
|
keyboard shortcut to open a new tab for an inquiry. An inquiry consists of three
|
||||||
|
parts: SQL query, result set (result of the query execution) and visualisation
|
||||||
|
of the result set. A tab consists of two panels. Each of them can show one of
|
||||||
|
the three parts of inquiry. By default the top panel shows SQL query editor and
|
||||||
|
the bottom panel shows the result set. You can switch any panel to any other
|
||||||
|
view with corresponding buttons in the right side toolbar.
|
||||||
|
|
||||||
|
* <img src="./img/sql.svg"/> – Switch the panel to an SQL query editor. In that
|
||||||
|
editor you can specify and run not only a `SELECT` statement for getting data
|
||||||
|
but also DDL/DML statements for modifying the database.
|
||||||
|
* <img src="./img/table.svg"/> – Switch the panel to the result set. Here you
|
||||||
|
can see the result of the query execution.
|
||||||
|
* <img src="./img/visualisation.svg"/> – Switch the panel to visualisation. This
|
||||||
|
panel allows building a pivot table and charts from the result set.
|
||||||
|
|
||||||
|
> **Note:** The query editor can show you hints: SQL keywords, table and column
|
||||||
|
> names. In a common case column names are shown in the hint if you specify the
|
||||||
|
> table name, e.g. `SELECT table_name.`. But if there is only one table in your
|
||||||
|
> database column names will be always available in the hint. Press `Ctrl+Space`
|
||||||
|
> to show a hint explicitly.
|
||||||
|
|
||||||
|
## Run query
|
||||||
|
|
||||||
|
Press <img src="./img/run.svg"/> button in the right side toolbar of an SQL
|
||||||
|
editor panel or use `Ctrl+r` or `Ctrl+Enter` (`Cmd+r` or `Cmd+Enter` for MacOS)
|
||||||
|
keyboard shortcut to execute a query in the current opened tab.
|
||||||
|
|
||||||
|
> **Note:** Running is not available if a query for the current tab is not
|
||||||
|
> specified.
|
||||||
|
|
||||||
|
The query result will be displayed in the result panel (fig. 4).
|
||||||
|
|
||||||
|
## Create visualisation
|
||||||
|
|
||||||
|
After running a query switch any panel to the visualisation. Switch to the
|
||||||
|
disired type of visualisation with buttons in the right side toolbar of the
|
||||||
|
visualisation panel.
|
||||||
|
|
||||||
|
* <img src="./img/chart.svg"/> – Switch to a chart type visualisation.
|
||||||
|
* <img src="./img/pivot.svg"/> – Switch to a pivot type visualisation.
|
||||||
|
|
||||||
|
> **Note:** All unsaved changes in the current visualisation will be lost when
|
||||||
|
> you switch to the other visualisation type.
|
||||||
|
|
||||||
|
A pivot table can be represented as a regular or multi-header table or
|
||||||
|
visualised with a chart.
|
||||||
|
Read more details of working with pivot in [Pivot tables][2].
|
||||||
|
|
||||||
|
All customised charts in sqliteviz are created with a `react-chart-editor`
|
||||||
|
component (fig. 5). The same component with some additional features is used in
|
||||||
|
Plotly Chart Studio. Explore its [documentation][1] to learn how to build charts
|
||||||
|
with `react-chart-editor`.
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<img class="figure" src="./img/Screenshot_chart.png?0.15.0" width="750"/>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<sub>
|
||||||
|
Fig. 5: Visualisation with a chart
|
||||||
|
</sub>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
You can save any visualisation as an image by clicking <img
|
||||||
|
src="./img/camera.svg"/>.
|
||||||
|
|
||||||
|
# Save inquiry
|
||||||
|
|
||||||
|
Press `Save` button in the top toolbar or use `Ctrl+s` (`Cmd+s` for MacOS)
|
||||||
|
keyboard shortcut to save an inquiry in the current opened tab to local storage
|
||||||
|
of your browser.
|
||||||
|
|
||||||
|
After that, the inquiry will be in the list on `Inquiries` page.
|
||||||
|
|
||||||
|
> **Note:** Only the text of the SQL query and the visualisation settings will
|
||||||
|
> be saved. The result of the query execution won't be saved.
|
||||||
|
|
||||||
|
[1]: https://plotly.com/chart-studio-help/tutorials/#basic
|
||||||
|
[2]: Pivot-table
|
||||||
16
Diagnostic-information.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
SQLite running in sqliteviz is compiled with particular [options][1] that can
|
||||||
|
enable or disable some SQLite features. You can get a list of them in `App
|
||||||
|
info` dialog (fig. 1) by clicking on <img src="./img/info.svg"/> icon in the top
|
||||||
|
toolbar.
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<img class="figure" src="./img/Screenshot_app_info.png?0.13.0"/>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<sub>
|
||||||
|
Fig. 1: App info dialog
|
||||||
|
</sub>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
[1]: https://sqlite.org/compile.html
|
||||||
4
Export-current-database.md
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Sqliteviz allows running not only `SELECT` statements but DML/DDL statements
|
||||||
|
too. You can save database modifications into a `.sqlite` file by clicking on
|
||||||
|
icon <img src="./img/file-export.svg"/> next to the database name on `Workspace`
|
||||||
|
page.
|
||||||
30
Home.md
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
Welcome to the sqliteviz wiki!
|
||||||
|
|
||||||
|
# For users
|
||||||
|
1. [Installation][0]
|
||||||
|
2. [Basic usage][1]
|
||||||
|
3. [Multiple CSV file import][9]
|
||||||
|
4. [Manage inquiries][2]
|
||||||
|
5. [Export current database][4]
|
||||||
|
6. [Pivot table][3]
|
||||||
|
7. [Predefined inquiries][5]
|
||||||
|
8. [Diagnostic information][6]
|
||||||
|
|
||||||
|
## Examples and tutorials
|
||||||
|
1. [How to rename tables and columns after CSV import][8]
|
||||||
|
2. [How to build a pivot table in SQL(ite)][10]
|
||||||
|
|
||||||
|
# For developers
|
||||||
|
1. [Integrate predefined inquiries][7]
|
||||||
|
|
||||||
|
[0]: Installation
|
||||||
|
[1]: Basic-usage
|
||||||
|
[2]: Manage-inquiries
|
||||||
|
[3]: Pivot-table
|
||||||
|
[4]: Export-current-database
|
||||||
|
[5]: Predefined-inquiries
|
||||||
|
[6]: Diagnostic-information
|
||||||
|
[7]: Integrate-predefined-inquiries
|
||||||
|
[8]: How-to-rename-tables-and-columns-after-CSV-import
|
||||||
|
[9]: Multiple-CSV-file-import
|
||||||
|
[10]: How-to-build-a-pivot-table-in-SQLite
|
||||||
135
How-to-build-a-pivot-table-in-SQLite.md
Normal file
@@ -0,0 +1,135 @@
|
|||||||
|
This how-to explores how to build pivot tables in SQLite, which doesn't have a
|
||||||
|
special constructs like `PIVOT` or `CROSSTAB` in its SQL dialect.
|
||||||
|
|
||||||
|
# Static-column pivot table
|
||||||
|
|
||||||
|
If the columns of a pivot table are known beforehand, it's possible to write a
|
||||||
|
standard, say SQL-92, query that would produce a pivot table in its result set.
|
||||||
|
This example uses World Bank [country indicators][1]. This query calculates
|
||||||
|
average fertility and life expectancy for a few country groups.
|
||||||
|
|
||||||
|
```sql
|
||||||
|
SELECT
|
||||||
|
"Country Name",
|
||||||
|
AVG(IIF(
|
||||||
|
FLOOR(year / 10) = 196 AND "Indicator Name" LIKE 'Fertility rate%',
|
||||||
|
value,
|
||||||
|
NULL
|
||||||
|
)) AS "FR 196x",
|
||||||
|
AVG(IIF(
|
||||||
|
FLOOR(year / 10) = 196 AND "Indicator Name" LIKE 'Life expectancy%',
|
||||||
|
value,
|
||||||
|
NULL
|
||||||
|
)) AS "LE 196x",
|
||||||
|
AVG(IIF(
|
||||||
|
FLOOR(year / 10) = 197 AND "Indicator Name" LIKE 'Fertility rate%',
|
||||||
|
value,
|
||||||
|
NULL
|
||||||
|
)) AS "FR 197x",
|
||||||
|
AVG(IIF(
|
||||||
|
FLOOR(year / 10) = 197 AND "Indicator Name" LIKE 'Life expectancy%',
|
||||||
|
value,
|
||||||
|
NULL
|
||||||
|
)) AS "LE 197x",
|
||||||
|
AVG(IIF(
|
||||||
|
FLOOR(year / 10) = 198 AND "Indicator Name" LIKE 'Fertility rate%',
|
||||||
|
value,
|
||||||
|
NULL
|
||||||
|
)) AS "FR 198x",
|
||||||
|
AVG(IIF(
|
||||||
|
FLOOR(year / 10) = 198 AND "Indicator Name" LIKE 'Life expectancy%',
|
||||||
|
value,
|
||||||
|
NULL
|
||||||
|
)) AS "LE 198x",
|
||||||
|
AVG(IIF(
|
||||||
|
FLOOR(year / 10) = 199 AND "Indicator Name" LIKE 'Fertility rate%',
|
||||||
|
value,
|
||||||
|
NULL
|
||||||
|
)) AS "FR 199x",
|
||||||
|
AVG(IIF(
|
||||||
|
FLOOR(year / 10) = 199 AND "Indicator Name" LIKE 'Life expectancy%',
|
||||||
|
value,
|
||||||
|
NULL
|
||||||
|
)) AS "LE 199x",
|
||||||
|
AVG(IIF(
|
||||||
|
FLOOR(year / 10) = 200 AND "Indicator Name" LIKE 'Fertility rate%',
|
||||||
|
value,
|
||||||
|
NULL
|
||||||
|
)) AS "FR 200x",
|
||||||
|
AVG(IIF(
|
||||||
|
FLOOR(year / 10) = 200 AND "Indicator Name" LIKE 'Life expectancy%',
|
||||||
|
value,
|
||||||
|
NULL
|
||||||
|
)) AS "LE 200x"
|
||||||
|
FROM country_indicators
|
||||||
|
WHERE "Country Name" IN(
|
||||||
|
'Arab World',
|
||||||
|
'Central Europe and the Baltics',
|
||||||
|
'East Asia & Pacific',
|
||||||
|
'European Union',
|
||||||
|
'Latin America & Caribbean',
|
||||||
|
'High income',
|
||||||
|
'Middle income',
|
||||||
|
'Low income'
|
||||||
|
)
|
||||||
|
GROUP BY 1
|
||||||
|
ORDER BY
|
||||||
|
CASE "Country Name"
|
||||||
|
WHEN 'High income' THEN 1
|
||||||
|
WHEN 'Middle income' THEN 2
|
||||||
|
WHEN 'Low income' THEN 3
|
||||||
|
WHEN 'European Union' THEN 4
|
||||||
|
WHEN 'Central Europe and the Baltics' THEN 5
|
||||||
|
WHEN 'East Asia & Pacific' THEN 6
|
||||||
|
WHEN 'Latin America & Caribbean' THEN 7
|
||||||
|
WHEN 'Arab World' THEN 8
|
||||||
|
ELSE 99
|
||||||
|
END
|
||||||
|
```
|
||||||
|
|
||||||
|
# Dynamic-column pivot table
|
||||||
|
|
||||||
|
SQLite in sqliteviz is built with [pivot_vtab][2] extension. The same result set
|
||||||
|
can be produced with this, arguably simpler and more maintainable, query.
|
||||||
|
|
||||||
|
```sql
|
||||||
|
CREATE VIRTUAL TABLE temp.pivot USING pivot_vtab(
|
||||||
|
(
|
||||||
|
WITH t(country_name) AS (VALUES
|
||||||
|
('High income'),
|
||||||
|
('Middle income'),
|
||||||
|
('Low income'),
|
||||||
|
('European Union'),
|
||||||
|
('Central Europe and the Baltics'),
|
||||||
|
('East Asia & Pacific'),
|
||||||
|
('Latin America & Caribbean'),
|
||||||
|
('Arab World')
|
||||||
|
)
|
||||||
|
SELECT country_name FROM t
|
||||||
|
),
|
||||||
|
(
|
||||||
|
SELECT
|
||||||
|
FLOOR(year / 10) || '|' || "Indicator Name" column_key,
|
||||||
|
CASE
|
||||||
|
WHEN "Indicator Name" LIKE 'Fertility rate%' THEN 'FR'
|
||||||
|
WHEN "Indicator Name" LIKE 'Life expectancy%' THEN 'LE'
|
||||||
|
END || ' ' || FLOOR(year / 10) || 'x' column_name
|
||||||
|
FROM country_indicators
|
||||||
|
WHERE
|
||||||
|
"Indicator Name" LIKE 'Fertility rate%'
|
||||||
|
OR "Indicator Name" LIKE 'Life expectancy%'
|
||||||
|
GROUP BY 1
|
||||||
|
),
|
||||||
|
(
|
||||||
|
SELECT AVG(value)
|
||||||
|
FROM country_indicators
|
||||||
|
WHERE
|
||||||
|
"Country Name" = :country_name
|
||||||
|
AND FLOOR(year / 10) || '|' || "Indicator Name" = :column_key
|
||||||
|
)
|
||||||
|
);
|
||||||
|
SELECT * FROM pivot
|
||||||
|
```
|
||||||
|
|
||||||
|
[1]: https://github.com/plotly/datasets/blob/master/country_indicators.csv
|
||||||
|
[2]: https://github.com/jakethaw/pivot_vtab
|
||||||
52
How-to-rename-tables-and-columns-after-CSV-import.md
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
# Rename columns
|
||||||
|
|
||||||
|
If sqliteviz parses CSV without `Use first row as column headers` option then
|
||||||
|
it will name the columns like `col1`, `col2` etc. You can easily rename the
|
||||||
|
columns after import with `ALTER TABLE` statements like this:
|
||||||
|
|
||||||
|
```sql
|
||||||
|
ALTER TABLE your_table_name
|
||||||
|
RENAME COLUMN current_column_name TO new_column_name;
|
||||||
|
```
|
||||||
|
|
||||||
|
## Column rename example
|
||||||
|
|
||||||
|
There is a table `dots` with columns `col1`, `col2`, `col3`. Here are the steps
|
||||||
|
to rename the columns to `x`, `y` and `z` respectively:
|
||||||
|
|
||||||
|
- Click `Create` in the top toolbar
|
||||||
|
- In the opened query editor write a script
|
||||||
|
|
||||||
|
```sql
|
||||||
|
ALTER TABLE dots
|
||||||
|
RENAME COLUMN col1 TO x;
|
||||||
|
|
||||||
|
ALTER TABLE dots
|
||||||
|
RENAME COLUMN col2 TO y;
|
||||||
|
|
||||||
|
ALTER TABLE dots
|
||||||
|
RENAME COLUMN col3 TO z;
|
||||||
|
```
|
||||||
|
|
||||||
|
- Click <img src="./img/run.svg"/> to run the script
|
||||||
|
|
||||||
|
|
||||||
|
# Rename table
|
||||||
|
|
||||||
|
```sql
|
||||||
|
ALTER TABLE current_table_name
|
||||||
|
RENAME TO new_table_name;
|
||||||
|
```
|
||||||
|
|
||||||
|
## Table rename example
|
||||||
|
|
||||||
|
There is a table `dots`. Here are the steps to rename it to `point`:
|
||||||
|
|
||||||
|
- Click `Create` in the top toolbar
|
||||||
|
- In the opened query editor write a script
|
||||||
|
|
||||||
|
```sql
|
||||||
|
ALTER TABLE dots RENAME TO point
|
||||||
|
```
|
||||||
|
|
||||||
|
- Click <img src="./img/run.svg"/> to run the script
|
||||||
14
Installation.md
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
The latest release of sqliteviz is running on [Github pages][1].
|
||||||
|
|
||||||
|
Basically, you don't need to install sqliteviz. But if you want you can install
|
||||||
|
it and use it as a regular desktop application with the following steps:
|
||||||
|
|
||||||
|
1. Open sqliteviz with [Chrome browser][2]
|
||||||
|
2. At the top right of the address bar, click `Install`
|
||||||
|
3. Confirm installation
|
||||||
|
|
||||||
|
See more about PWA on [Google Chrome Help][3].
|
||||||
|
|
||||||
|
[1]: https://lana-k.github.io/sqliteviz
|
||||||
|
[2]: https://www.google.com/chrome
|
||||||
|
[3]: https://support.google.com/chrome/answer/9658361?hl=en&ref_topic=7439636
|
||||||
10
Integrate-predefined-inquiries.md
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
If you run sqliteviz on your own server you can specify predefined inquiries.
|
||||||
|
These inquiries will appear in `Inquiries` list for all users working with
|
||||||
|
sqliteviz on your server.
|
||||||
|
|
||||||
|
To create a list of predefined inquiries choose inquiries in `Inquiries` list
|
||||||
|
and export them to `inquiries.json`. Then (re)place this file on the server in
|
||||||
|
the same directory as `index.html`.
|
||||||
|
|
||||||
|
A user can't edit, rename or delete a predefined inquiry. The rest operations
|
||||||
|
are available.
|
||||||
45
Manage-inquiries.md
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
# Organise
|
||||||
|
|
||||||
|
You can find all inquiries that you saved in `Inquiries` (fig. 1).
|
||||||
|
|
||||||
|
<p align="center"> <img class="figure" src="./img/Screenshot_my_inquiries.png"
|
||||||
|
width="700"/> </p>
|
||||||
|
|
||||||
|
<p align="center"> <sub> Fig. 1: Inquiries </sub> </p>
|
||||||
|
|
||||||
|
To manipulate one inquiry hover the cursor over the row with the inquiry and
|
||||||
|
choose the action:
|
||||||
|
|
||||||
|
* <img src="./img/rename.svg"/> – rename an inquiry
|
||||||
|
* <img src="./img/copy.svg"/> – duplicate an inquiry
|
||||||
|
* <img src="./img/file-export.svg"/> – export an inquiry to JSON file
|
||||||
|
* <img src="./img/delete.svg"/> – delete an inquiry
|
||||||
|
|
||||||
|
To edit a query or visualisation settings of an inquiry click on the respective
|
||||||
|
row. You will be redirected to `Workspace` where the chosen inquiry will be
|
||||||
|
opened in a tab.
|
||||||
|
|
||||||
|
> **Note:** After opening an inquiry there will be no visualisation for it even
|
||||||
|
> if you specified it and saved. That is so because there is no data to build
|
||||||
|
> the visualisation. Run the query and all saved chart settings will be applied.
|
||||||
|
|
||||||
|
You can also delete or export a group of inquiries to a JSON file. Select
|
||||||
|
inquiries with checkboxes and press `Delete`/`Export` button above the grid
|
||||||
|
(fig. 2).
|
||||||
|
|
||||||
|
<p align="center"> <img class="figure" src="./img/Screenshot_group.png?0.15.0"
|
||||||
|
width="600"/> </p>
|
||||||
|
|
||||||
|
|
||||||
|
<p align="center"> <sub> Fig. 2: Inquiries: a group of inquiries is selected
|
||||||
|
</sub> </p>
|
||||||
|
|
||||||
|
> **Note:** Some operations are not available for predefined inquiries. Read
|
||||||
|
> [Predefined inquiries][1] for details.
|
||||||
|
|
||||||
|
# Import
|
||||||
|
|
||||||
|
Click `Import` button on `Inquiries` page to import inquiries from a JSON file
|
||||||
|
generated by export.
|
||||||
|
|
||||||
|
[1]: Predefined-inquiries
|
||||||
10
Multiple-CSV-file-import.md
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Sometimes it's useful to import several CSV files as tables in one database. For
|
||||||
|
example, to be able to `JOIN` them in SQL.
|
||||||
|
|
||||||
|
In sqliteviz you can not only create a database from a CSV file, but also add
|
||||||
|
another table from CSV to the existing database.
|
||||||
|
|
||||||
|
- Click <img src="./img/add-csv.svg"/> icon in the schema panel on `Workspace`
|
||||||
|
page
|
||||||
|
- Choose a CSV file
|
||||||
|
- Import it with `CSV import` dialog.
|
||||||
82
Pivot-table.md
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
# Pivot table UI
|
||||||
|
|
||||||
|
Sqliteviz allows building pivot tables and visualizing them. To build a pivot
|
||||||
|
run a query to get data. Then open visualisation panel by clicking <img
|
||||||
|
src="./img/visualisation.svg"/> in any of the two side toolbars and choose a
|
||||||
|
pivot mode by clicking <img src="./img/pivot.svg"/>.
|
||||||
|
|
||||||
|
A pivot visualisation has the following settings:
|
||||||
|
|
||||||
|
- Columns – choose one or more column names from the result set. The values in
|
||||||
|
the chosen columns will be column names of the pivot table.
|
||||||
|
- Rows – choose one or more column names from the result set. The values in the
|
||||||
|
chosen columns will be row names of the pivot table.
|
||||||
|
- Order of columns and rows.
|
||||||
|
- Aggregator and its arguments – a function which will be used for pivot cell
|
||||||
|
calculation. An aggregator can have from zero to two arguments. An aggregator
|
||||||
|
argument is one of the columns of the result set.
|
||||||
|
- View – pivot table visualisation. It can be a table, a heatmap, a chart,
|
||||||
|
etc. See some examples of different views of the same pivot table below.
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<img class="figure" src="./img/Screenshot_pivot_table.png" width="900"/>
|
||||||
|
</p>
|
||||||
|
<p align="center">
|
||||||
|
<sub>
|
||||||
|
Fig. 1: Table
|
||||||
|
</sub>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<img class="figure" src="./img/Screenshot_pivot_heatmap.png" width="900"/>
|
||||||
|
</p>
|
||||||
|
<p align="center">
|
||||||
|
<sub>
|
||||||
|
Fig. 2: Heatmap
|
||||||
|
</sub>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<img class="figure" src="./img/Screenshot_pivot_barchart.png" width="900"/>
|
||||||
|
</p>
|
||||||
|
<p align="center">
|
||||||
|
<sub>
|
||||||
|
Fig. 3: Horizontal Stacked Bar Chart
|
||||||
|
</sub>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
There are several built-in chart views for a pivot. But you can build your own
|
||||||
|
with `Custom chart` view (fig. 4).
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<img class="figure" src="./img/Screenshot_pivot_custom chart.png"
|
||||||
|
width="900"/>
|
||||||
|
</p>
|
||||||
|
<p align="center">
|
||||||
|
<sub>
|
||||||
|
Fig. 4: Custom Chart
|
||||||
|
</sub>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
> **Note:** You can switch to other pivot views and back to `Custom chart` –
|
||||||
|
> all your custom chart settings will be remembered. But if you switch the
|
||||||
|
> visualisation mode from pivot to any other mode, unsaved changes will be lost.
|
||||||
|
|
||||||
|
You can save any visualisation as an image by clicking <img
|
||||||
|
src="./img/camera.svg"/>.
|
||||||
|
|
||||||
|
# Pivot table SQL
|
||||||
|
|
||||||
|
Pivot table (in the form of a result set) can be built on the SQL-level and,
|
||||||
|
technically speaking, can be visualised as any other result set. Practically
|
||||||
|
though there are a couple of challenges with that:
|
||||||
|
|
||||||
|
1. Visualising a dataset of long/tall shape is much more convenient in Plotly
|
||||||
|
(chart editor) rather than one of wide/fat shape.
|
||||||
|
2. SQLite doesn't have a special constructs like `PIVOT` or `CROSSTAB` in
|
||||||
|
its SQL dialect.
|
||||||
|
|
||||||
|
[How to build a pivot table in SQL(ite)][1] explores two options with static
|
||||||
|
(or beforehand-known) and dynamic columns.
|
||||||
|
|
||||||
|
[1]: How-to-build-a-pivot-table-in-SQLite
|
||||||
22
Predefined-inquiries.md
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
Predefined inquiries come out of the box on the sqliteviz instance. In sqliteviz
|
||||||
|
deployed on [Github Pages][1] there are no predefined inquiries, but you may
|
||||||
|
see them if you use sqliteviz integrated into another app.
|
||||||
|
|
||||||
|
These inquiries are shown in `Inqueries` list with a special label on the mouse
|
||||||
|
over (fig. 1).
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<img class="figure" src="./img/Screenshot_predefined.png?0.15.0"
|
||||||
|
width="700"/>
|
||||||
|
</p>
|
||||||
|
<p align="center">
|
||||||
|
<sub>
|
||||||
|
Fig. 1: Predefined inquiry
|
||||||
|
</sub>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
As a user, you can't rename or delete a predefined inquiry. You can't save
|
||||||
|
changes in a predefined inquiry, but you can save them as a new inquiry. The
|
||||||
|
rest operations, copy and export, are available.
|
||||||
|
|
||||||
|
[1]: https://lana-k.github.io/sqliteviz
|
||||||
BIN
img/Screenshot_app_info.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
img/Screenshot_chart.png
Normal file
|
After Width: | Height: | Size: 64 KiB |
BIN
img/Screenshot_csv.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
img/Screenshot_editor.png
Normal file
|
After Width: | Height: | Size: 52 KiB |
BIN
img/Screenshot_editor_with_db.png
Normal file
|
After Width: | Height: | Size: 59 KiB |
BIN
img/Screenshot_group.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
img/Screenshot_my_inquiries.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
img/Screenshot_pivot_barchart.png
Normal file
|
After Width: | Height: | Size: 57 KiB |
BIN
img/Screenshot_pivot_custom chart.png
Normal file
|
After Width: | Height: | Size: 125 KiB |
BIN
img/Screenshot_pivot_heatmap.png
Normal file
|
After Width: | Height: | Size: 113 KiB |
BIN
img/Screenshot_pivot_table.png
Normal file
|
After Width: | Height: | Size: 84 KiB |
BIN
img/Screenshot_predefined.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
img/Screenshot_query_tools.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
img/Screenshot_result.png
Normal file
|
After Width: | Height: | Size: 74 KiB |
BIN
img/Screenshot_welcome.png
Normal file
|
After Width: | Height: | Size: 43 KiB |
10
img/add-csv.svg
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g clip-path="url(#clip0)">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.6573 1.5H2.59985C1.77485 1.5 1.09985 2.175 1.09985 3V13.6649C1.09985 14.4899 1.77485 15.1649 2.59985 15.1649H9.84V13.6649H8.87866V9.08244H13.6573V9.83777H15.1573V3C15.1573 2.17 14.4873 1.5 13.6573 1.5ZM13.6573 7.58244V3H8.87866V7.58244H13.6573ZM7.37866 3H2.59985V7.58244H7.37866V3ZM2.59985 9.08244V13.6649H7.37866V9.08244H2.59985ZM13.1702 10.8434H15.6702V13.1717H18.0001V15.6717H15.6702V18H13.1702V15.6717H10.8401V13.1717H13.1702V10.8434Z" fill="#A2B1C6"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip0">
|
||||||
|
<rect width="18" height="18" fill="white"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 739 B |
5
img/camera.svg
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M9 5.51953C6.57686 5.51953 4.60547 7.49092 4.60547 9.91406C4.60547 12.3372 6.57686 14.3086 9 14.3086C11.4231 14.3086 13.3945 12.3372 13.3945 9.91406C13.3945 7.49092 11.4231 5.51953 9 5.51953ZM9 12.9023C7.35226 12.9023 6.01172 11.5618 6.01172 9.91406C6.01172 8.26632 7.35226 6.92578 9 6.92578C10.6477 6.92578 11.9883 8.26632 11.9883 9.91406C11.9883 11.5618 10.6477 12.9023 9 12.9023Z" fill="#A2B1C6"/>
|
||||||
|
<path d="M15.8906 3.41016H13.304C13.2221 3.41016 13.1483 3.36547 13.1104 3.29319L12.3948 1.78945C12.3928 1.78534 12.3908 1.78126 12.3887 1.77718C12.1117 1.22312 11.5548 0.878906 10.9353 0.878906H7.11478C6.49529 0.878906 5.93835 1.22312 5.66135 1.77722C5.65928 1.7813 5.65731 1.78538 5.65534 1.78949L4.9397 3.2933C4.90173 3.36547 4.82797 3.41016 4.74609 3.41016H2.10938C0.946266 3.41016 0 4.35642 0 5.51953V15.0117C0 16.1748 0.946266 17.1211 2.10938 17.1211H15.8906C17.0537 17.1211 18 16.1748 18 15.0117V5.51953C18 4.35642 17.0537 3.41016 15.8906 3.41016ZM16.5938 15.0117C16.5938 15.3994 16.2783 15.7148 15.8906 15.7148H2.10938C1.72167 15.7148 1.40625 15.3994 1.40625 15.0117V5.51953C1.40625 5.13183 1.72167 4.81641 2.10938 4.81641H4.74609C5.36555 4.81641 5.92249 4.47223 6.19952 3.91816C6.2016 3.91409 6.20357 3.90997 6.20557 3.90586L6.92121 2.40205C6.95914 2.32984 7.0329 2.28516 7.11478 2.28516H10.9353C11.0172 2.28516 11.091 2.32984 11.1289 2.40202L11.8445 3.90582C11.8465 3.90994 11.8485 3.91405 11.8506 3.91813C12.1276 4.47219 12.6846 4.81637 13.304 4.81637H15.8906C16.2783 4.81637 16.5938 5.13179 16.5938 5.5195V15.0117Z" fill="#A2B1C6"/>
|
||||||
|
<path d="M15.1875 6.22266H13.7812V7.62891H15.1875V6.22266Z" fill="#A2B1C6"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.7 KiB |
8
img/chart.svg
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<svg width="19" height="18" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.41943 16V10H10.4194V16H8.41943Z" fill="#A2B1C6"/>
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.41943 16L2.41943 10H4.41943V16H2.41943Z" fill="#A2B1C6"/>
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.4194 16V7H13.4194V16H11.4194Z" fill="#A2B1C6"/>
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M14.4194 16V8H16.4194V16H14.4194Z" fill="#A2B1C6"/>
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.41943 12V16H5.41943V12H7.41943Z" fill="#A2B1C6"/>
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.4332 1.80676L16.6265 6.00001L15.9194 6.70712L12.4055 3.19326L5.93169 9.1691L1.71436 5.55424L2.36515 4.79499L5.90707 7.83092L12.4332 1.80676Z" fill="#A2B1C6"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 831 B |
3
img/copy.svg
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M14.25 15.75H6V5.25H14.25V15.75ZM14.25 3.75H6C5.60218 3.75 5.22064 3.90804 4.93934 4.18934C4.65804 4.47064 4.5 4.85218 4.5 5.25V15.75C4.5 16.1478 4.65804 16.5294 4.93934 16.8107C5.22064 17.092 5.60218 17.25 6 17.25H14.25C14.6478 17.25 15.0294 17.092 15.3107 16.8107C15.592 16.5294 15.75 16.1478 15.75 15.75V5.25C15.75 4.85218 15.592 4.47064 15.3107 4.18934C15.0294 3.90804 14.6478 3.75 14.25 3.75ZM12 0.75H3C2.60218 0.75 2.22064 0.908035 1.93934 1.18934C1.65804 1.47064 1.5 1.85218 1.5 2.25V12.75H3V2.25H12V0.75Z" fill="#A2B1C6"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 643 B |
3
img/delete.svg
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M6.75 2.25V3H3V4.5H3.75V14.25C3.75 14.6478 3.90804 15.0294 4.18934 15.3107C4.47064 15.592 4.85218 15.75 5.25 15.75H12.75C13.1478 15.75 13.5294 15.592 13.8107 15.3107C14.092 15.0294 14.25 14.6478 14.25 14.25V4.5H15V3H11.25V2.25H6.75ZM5.25 4.5H12.75V14.25H5.25V4.5ZM6.75 6V12.75H8.25V6H6.75ZM9.75 6V12.75H11.25V6H9.75Z" fill="#A2B1C6"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 447 B |
3
img/file-export.svg
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M10.5 1.5H4.5C3.675 1.5 3 2.175 3 3V15C3 15.825 3.675 16.5 4.5 16.5H13.5C14.325 16.5 15 15.825 15 15V6L10.5 1.5ZM13.5 15H4.5V3H9.75V6.75H13.5V15ZM12 8.25V13.575L10.425 12L8.325 14.1L6.225 12L8.325 9.9L6.675 8.25H12Z" fill="#A2B1C6"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 346 B |
3
img/info.svg
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M11 9H13V7H11V9ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM12 2C10.6868 2 9.38642 2.25866 8.17317 2.7612C6.95991 3.26375 5.85752 4.00035 4.92893 4.92893C3.05357 6.8043 2 9.34784 2 12C2 14.6522 3.05357 17.1957 4.92893 19.0711C5.85752 19.9997 6.95991 20.7362 8.17317 21.2388C9.38642 21.7413 10.6868 22 12 22C14.6522 22 17.1957 20.9464 19.0711 19.0711C20.9464 17.1957 22 14.6522 22 12C22 10.6868 21.7413 9.38642 21.2388 8.17317C20.7362 6.95991 19.9997 5.85752 19.0711 4.92893C18.1425 4.00035 17.0401 3.26375 15.8268 2.7612C14.6136 2.25866 13.3132 2 12 2V2ZM11 17H13V11H11V17Z" fill="#A2B1C6"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 754 B |
6
img/pivot.svg
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<svg width="19" height="18" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.7661 5.13901L18.3407 9.43008H16.5161V12.8467C16.5161 13.7957 16.2783 14.6451 15.6714 15.2521C15.0645 15.859 14.215 16.0967 13.2661 16.0967H9.84942V17.9214L5.55835 15.3467L9.84942 12.7721V14.5967H13.2661C13.9838 14.5967 14.3844 14.4178 14.6108 14.1914C14.8372 13.965 15.0161 13.5645 15.0161 12.8467V9.43008H13.1914L15.7661 5.13901Z" fill="#A2B1C6"/>
|
||||||
|
<path d="M6.41943 0H18.4194V4H6.41943V0Z" fill="#A2B1C6"/>
|
||||||
|
<path d="M0.419434 6H4.41943V18H0.419434V6Z" fill="#A2B1C6"/>
|
||||||
|
<path d="M0.419434 0H4.41943V4H0.419434V0Z" fill="#A2B1C6"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 687 B |
3
img/rename.svg
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M10.545 6.75L11.25 7.455L4.44 14.25H3.75V13.56L10.545 6.75ZM13.245 2.25C13.0575 2.25 12.8625 2.325 12.72 2.4675L11.3475 3.84L14.16 6.6525L15.5325 5.28C15.825 4.9875 15.825 4.5 15.5325 4.2225L13.7775 2.4675C13.6275 2.3175 13.44 2.25 13.245 2.25ZM10.545 4.6425L2.25 12.9375V15.75H5.0625L13.3575 7.455L10.545 4.6425Z" fill="#A2B1C6"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 444 B |
3
img/run.svg
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<svg width="12" height="13" viewBox="0 0 12 13" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M11.1624 6.94358L0.770043 12.9436L0.770043 0.943573L11.1624 6.94358Z" fill="#A2B1C6"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 199 B |
11
img/sql.svg
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<svg width="18" height="19" viewBox="0 0 18 19" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g clip-path="url(#clip0)">
|
||||||
|
<path d="M4.5 1.51343H10.5L15 6.01343V8.45284H13.5V6.76343H9.75V3.01343H4.5V8.45284H3V3.01343C3 2.18843 3.675 1.51343 4.5 1.51343Z" fill="#A2B1C6"/>
|
||||||
|
<path d="M4.28369 14.8127C4.28369 14.5872 4.20312 14.4114 4.04199 14.2854C3.88379 14.1594 3.604 14.0291 3.20264 13.8943C2.80127 13.7595 2.47314 13.6292 2.21826 13.5032C1.38916 13.0959 0.974609 12.5364 0.974609 11.8245C0.974609 11.47 1.07715 11.158 1.28223 10.8884C1.49023 10.616 1.7832 10.405 2.16113 10.2556C2.53906 10.1033 2.96387 10.0271 3.43555 10.0271C3.89551 10.0271 4.30713 10.1091 4.67041 10.2732C5.03662 10.4373 5.3208 10.6716 5.52295 10.9763C5.7251 11.2781 5.82617 11.6238 5.82617 12.0134H4.28809C4.28809 11.7527 4.20752 11.5505 4.04639 11.407C3.88818 11.2634 3.67285 11.1917 3.40039 11.1917C3.125 11.1917 2.90674 11.2532 2.74561 11.3762C2.5874 11.4963 2.5083 11.6501 2.5083 11.8376C2.5083 12.0017 2.59619 12.1511 2.77197 12.2859C2.94775 12.4177 3.25684 12.5554 3.69922 12.699C4.1416 12.8396 4.50488 12.9919 4.78906 13.156C5.48047 13.5544 5.82617 14.1038 5.82617 14.804C5.82617 15.3635 5.61523 15.803 5.19336 16.1223C4.77148 16.4417 4.19287 16.6013 3.45752 16.6013C2.93896 16.6013 2.46875 16.509 2.04688 16.3245C1.62793 16.137 1.31152 15.8821 1.09766 15.5598C0.886719 15.2346 0.78125 14.8611 0.78125 14.4392H2.32812C2.32812 14.782 2.41602 15.0354 2.5918 15.1995C2.77051 15.3606 3.05908 15.4412 3.45752 15.4412C3.7124 15.4412 3.91309 15.387 4.05957 15.2786C4.20898 15.1672 4.28369 15.012 4.28369 14.8127ZM12.0444 13.446C12.0444 14.0378 11.9463 14.5549 11.75 14.9973C11.5537 15.4368 11.2827 15.7898 10.937 16.0564L11.9697 16.8738L11.0161 17.6824L9.64062 16.575C9.51172 16.5925 9.38281 16.6013 9.25391 16.6013C8.70898 16.6013 8.22559 16.4753 7.80371 16.2234C7.38184 15.9714 7.05225 15.6111 6.81494 15.1423C6.58057 14.6736 6.45898 14.1345 6.4502 13.5251V13.1868C6.4502 12.5569 6.56445 12.0032 6.79297 11.5256C7.02441 11.0481 7.35254 10.679 7.77734 10.4182C8.20508 10.1575 8.69434 10.0271 9.24512 10.0271C9.78711 10.0271 10.2705 10.156 10.6953 10.4138C11.1201 10.6716 11.4497 11.0393 11.6841 11.5168C11.9214 11.9915 12.0415 12.5364 12.0444 13.1516V13.446ZM10.4756 13.178C10.4756 12.5422 10.3687 12.0603 10.1548 11.7322C9.94385 11.4011 9.64062 11.2356 9.24512 11.2356C8.83789 11.2356 8.53174 11.3982 8.32666 11.7234C8.12158 12.0486 8.01758 12.5247 8.01465 13.1516V13.446C8.01465 14.0759 8.11865 14.5593 8.32666 14.8962C8.53467 15.2302 8.84375 15.3972 9.25391 15.3972C9.64648 15.3972 9.94678 15.2317 10.1548 14.9006C10.3657 14.5696 10.4727 14.0935 10.4756 13.4724V13.178ZM14.3735 15.3269H17.0586V16.5134H12.8311V10.115H14.3735V15.3269Z" fill="#A2B1C6"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip0">
|
||||||
|
<rect width="18" height="18" fill="white" transform="translate(0 0.0134277)"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.8 KiB |
7
img/table.svg
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<svg width="19" height="19" viewBox="0 0 19 19" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.0286 2.66757H3.97119C3.14619 2.66757 2.47119 3.34257 2.47119 4.16757V14.8324C2.47119 15.6574 3.14619 16.3324 3.97119 16.3324H15.0286C15.8613 16.3324 16.5286 15.6576 16.5286 14.8324V4.16757C16.5286 3.33757 15.8586 2.66757 15.0286 2.66757ZM15.03 4.16757H3.96997V14.8276H15.03V4.16757Z" fill="#A2B1C6"/>
|
||||||
|
<line x1="7.52295" y1="3.81403" x2="7.52295" y2="15.1996" stroke="#A2B1C6" stroke-width="1.5"/>
|
||||||
|
<line x1="11.5137" y1="3.80042" x2="11.5137" y2="15.1859" stroke="#A2B1C6" stroke-width="1.5"/>
|
||||||
|
<line x1="2.98926" y1="7.22595" x2="16.0105" y2="7.22595" stroke="#A2B1C6" stroke-width="1.5"/>
|
||||||
|
<line x1="2.98926" y1="11.3483" x2="16.0105" y2="11.3483" stroke="#A2B1C6" stroke-width="1.5"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 841 B |
12
img/visualisation.svg
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<svg width="19" height="19" viewBox="0 0 19 19" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g clip-path="url(#clip0)">
|
||||||
|
<path d="M2.03345 13.6725L5.8465 10.2694L9.25264 13.2145L14.0613 8.16519L17.2235 11.38" stroke="#A2B1C6" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<circle cx="6.00049" cy="6.50339" r="1.5" fill="#A2B1C6"/>
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.536 1.71786L2.46546 1.71298C1.64046 1.71298 0.965462 2.38798 0.965462 3.21298L0.964111 15.7821C0.964111 16.6071 1.63911 17.2821 2.46411 17.2821L16.5347 17.287C17.3674 17.287 18.0347 16.6121 18.0347 15.787L18.036 3.21786C18.036 2.38786 17.366 1.71786 16.536 1.71786ZM16.5374 3.21786L2.46424 3.21298L2.46289 15.7772L16.536 15.7821L16.5374 3.21786Z" fill="#A2B1C6"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip0">
|
||||||
|
<rect width="18" height="18" fill="white" transform="translate(0.5 0.5)"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 909 B |