1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-06 18:18:53 +08:00

#116 add JSON/NDJSON

This commit is contained in:
lana-k
2024-09-17 11:35:53 +02:00
parent 53e5194295
commit 244ba9eb08
5 changed files with 8 additions and 6 deletions

View File

@@ -4,11 +4,12 @@
# sqliteviz # sqliteviz
Sqliteviz is a single-page offline-first PWA for fully client-side visualisation of SQLite databases or CSV files. Sqliteviz is a single-page offline-first PWA for fully client-side visualisation
of SQLite databases, CSV, JSON or NDJSON files.
With sqliteviz you can: With sqliteviz you can:
- run SQL queries against a SQLite database and create [Plotly][11] charts and pivot tables based on the result sets - run SQL queries against a SQLite database and create [Plotly][11] charts and pivot tables based on the result sets
- import a CSV file into a SQLite database and visualize imported data - import a CSV/JSON/NDJSON file into a SQLite database and visualize imported data
- export result set to CSV file - export result set to CSV file
- manage inquiries and run them against different databases - manage inquiries and run them against different databases
- import/export inquiries from/to a JSON file - import/export inquiries from/to a JSON file

View File

@@ -1,6 +1,6 @@
{ {
"background_color": "white", "background_color": "white",
"description": "Sqliteviz is a single-page application for fully client-side visualisation of SQLite databases or CSV.", "description": "Sqliteviz is a single-page application for fully client-side visualisation of SQLite databases, CSV, JSON or NDJSON.",
"display": "fullscreen", "display": "fullscreen",
"icons": [ "icons": [
{ {

View File

@@ -10,7 +10,8 @@
@click="browse" @click="browse"
> >
<div class="text"> <div class="text">
Drop the database or CSV file here or click to choose a file from your computer. Drop the database, CSV, JSON or NDJSON file here
or click to choose a file from your computer.
</div> </div>
</div> </div>
</div> </div>

View File

@@ -34,7 +34,7 @@
</defs> </defs>
</svg> </svg>
<span class="icon-tooltip" :style="tooltipStyle" ref="tooltip"> <span class="icon-tooltip" :style="tooltipStyle" ref="tooltip">
Add new table from CSV Add new table from CSV, JSON or NDJSON
</span> </span>
</span> </span>
</template> </template>

View File

@@ -22,7 +22,7 @@
/> />
</svg> </svg>
<span class="icon-tooltip" :style="tooltipStyle" ref="tooltip"> <span class="icon-tooltip" :style="tooltipStyle" ref="tooltip">
Load another database or CSV Load another database, CSV, JSON or NDJSON
</span> </span>
</div> </div>
</template> </template>